Skip to content

Fixes #26 #27

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

Merged
merged 2 commits into from
Nov 1, 2018
Merged

Fixes #26 #27

merged 2 commits into from
Nov 1, 2018

Conversation

ggodreau
Copy link
Contributor

  • /mpl-data/sample_data/axes_grid folder appears to no longer exists as of matplotlib v2.2.2
  • added /assets folder in repo containing dependent numpy pickle, 'bivariate_normal.npy' file
  • revised load of data in AnatomyOfMatplotlib-Part2-Plotting_Methods_Overview.ipynb to reflect this change
  • tested successfully with matplotlib v2.2.2 and python v3.6.6

  - /mpl-data/sample_data/axes_grid folder appears to no longer exists as of matplotlib v2.2.2
  - added /assets folder in repo containing dependent numpy pickle, 'bivariate_normal.npy' file
  - revised load of data in AnatomyOfMatplotlib-Part2-Plotting_Methods_Overview.ipynb to reflect this change
  - tested successfully with matplotlib v2.2.2 and python v3.6.6
  - removed redundant cell (typo on my part), line 272
@choldgraf
Copy link

This seems reasonable to me! Anybody have objections to including this data w/ the repo?

@ggodreau
Copy link
Contributor Author

@choldgraf I considered pulling it down from GH or a CDN but I:

  • didn't want to have an additional post-clone network dependency (and library import)
  • didn't want to deal with 'where to install' the file (possible multiple paths and local file system permissions issues)

So I decided it'd be easier and more reliable to include the file in the repo. T'was my raison d'etre 🗼 🍷

@timhoffm
Copy link
Member

timhoffm commented Nov 1, 2018

Not sure why sample data is not available. Maybe, because technically it's an optional package.

OTOH adding a 1.8k file to this repo is not that bad either.

@WeatherGod WeatherGod merged commit 00ff7ad into matplotlib:master Nov 1, 2018
@WeatherGod
Copy link
Member

I am a little embarrassed that I didn't think of this before. Of course, I didn't ever spend much time thinking about it because I always assumed that the sample data will always be packaged with matplotlib... This seems totally reasonable.

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.

4 participants