Skip to content

Always include sample_data in installs. #19383

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 1 commit into from
Jan 28, 2021
Merged

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jan 27, 2021

The whole sample data folder is ~500K now, which is much less than many
compiled extension modules (backend_agg, ft2font, _image, _path, _qhull
shared objects all weight ~2-3M). Always installing sample_data is a
step towards making Matplotlib installs more homogeneous (i.e., fewer
variants).

PR Summary

PR Checklist

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (run flake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • Conforms to Matplotlib style conventions (install flake8-docstrings and run flake8 --docstring-convention=all).
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).

The whole sample data folder is ~500K now, which is much less than many
compiled extension modules (backend_agg, ft2font, _image, _path, _qhull
shared objects all weight ~2-3M).  Always installing sample_data is a
step towards making Matplotlib installs more homogeneous (i.e., fewer
variants).
@anntzer anntzer added the Build label Jan 27, 2021
Copy link
Member

@jklymak jklymak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean this is fine w/ me. Is the idea that then people can always run the examples?

@QuLogic QuLogic added this to the v3.4.0 milestone Jan 28, 2021
@QuLogic QuLogic merged commit f13a1be into matplotlib:master Jan 28, 2021
QuLogic added a commit to QuLogic/matplotlib that referenced this pull request Jan 28, 2021
With matplotlib#19383, there's no need to list each `mpl-data` subdirectory
individually.
@anntzer anntzer deleted the sd branch January 28, 2021 08:18
@anntzer
Copy link
Contributor Author

anntzer commented Jan 28, 2021

@jklymak in particular, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants