Skip to content
New issue

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

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

Already on GitHub? # to your account

DEP: drop support for matplotlib<3.5 #122

Merged
merged 1 commit into from
Jun 25, 2023

Conversation

neutrinoceros
Copy link
Member

@neutrinoceros neutrinoceros commented Jun 25, 2023

this should be okay now that yt (dev) requires matplotlib>=3.5 (yt-project/yt#4521)

Also avoid unnecessary copies (matplotlib.colormaps.register always copies inputs, so we don't need an extra copy to safely modify a colormap). This makes cmyt finally negligible in terms of startup overhead in import yt (going from 4% to <0.8%).

@neutrinoceros neutrinoceros added the dependencies Pull requests that update a dependency file label Jun 25, 2023
@neutrinoceros neutrinoceros marked this pull request as ready for review June 25, 2023 11:13
@neutrinoceros neutrinoceros merged commit 31b8a32 into yt-project:main Jun 25, 2023
@neutrinoceros neutrinoceros deleted the drop_mpl_34 branch June 25, 2023 12:17
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant