Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Matplotlib for plotting #645

Merged
merged 2 commits into from
Jul 13, 2024
Merged

WIP: Matplotlib for plotting #645

merged 2 commits into from
Jul 13, 2024

Conversation

chrisclark
Copy link
Collaborator

@chrisclark chrisclark commented Jul 9, 2024

The seaborn dependency drags in a bunch of complex stuff like scipy, etc. This also removes pie charts, simply because pie charts stink and the format for them is super weird. May introduce stacked bar charts here instead.

Given the pretty basic charting capability, matplotlib can simply do this on its own, and is a lighter dependency. You can see the full seaborn deps tree below (and matplotlib, as a subtree):

seaborn==0.11.2
  matplotlib==3.8.4
    contourpy==1.2.1
      numpy==1.26.4
    cycler==0.12.1
    fonttools==4.51.0
    kiwisolver==1.4.5
    numpy==1.26.4
    packaging==24.0
    pillow==10.3.0
    pyparsing==3.1.2
    python-dateutil==2.9.0.post0
      six==1.16.0
  numpy==1.26.4
  pandas==2.2.2
    numpy==1.26.4
    python-dateutil==2.9.0.post0
      six==1.16.0
    pytz==2024.1
    tzdata==2024.1
  scipy==1.13.0
    numpy==1.26.4

Pandas is still going to be installed in many cases as it is required for the CSV uploads feature -- but scipy is quite large and will be eliminated from CI builds and the forthcoming docker container.

@chrisclark chrisclark changed the title remove the heavy seaborn dependency in favor of matplotlib WIP: Matplotlib for plotting Jul 10, 2024
@explorerhq explorerhq deleted a comment from marksweb Jul 13, 2024
@chrisclark chrisclark merged commit e405efc into master Jul 13, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant