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] plot_colorbar soft deprecation #1173

Draft
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

ddkohler
Copy link
Contributor

@ddkohler ddkohler commented Mar 22, 2024

Changes

  • deprecation warning for plot_colorbar. all features of this function are directly supported in matplotlib.pyplot.colorbar (or the matplotlib's Figure.colorbar method)
  • replaced all internal usage of plot_colorbar
  • refactored datasets module--this refactor was done just to make sphinx tests happy. resolves pytest: build_sphinx failing when examples are modified #1174
  • new example highlighting usage of colorbar usage with different norms

Checklist

  • added tests, if applicable
  • updated documentation, if applicable
  • updated CHANGELOG.md
  • tests pass

remove from examples, docs
@ddkohler ddkohler changed the title [WIP] Plan plot colorbar deprecation [WIP] plot_colorbar soft deprecation Mar 22, 2024
ddkohler and others added 8 commits March 23, 2024 11:07
* re-implement module reset

* Update split.py

* Update split.py

* Update conf.py

* Update split.py

* Update fringes_transform.py

* Update __init__.py

* Update fringes_transform.py

* Revert "Update fringes_transform.py"

This reverts commit 7911367.

* node 20
still trying to fix sphinx build test
@ddkohler
Copy link
Contributor Author

ddkohler commented Apr 1, 2024

finally found a way to make sphinx test happy with datasets! 🥇

WrightTools/artists/_helpers.py Fixed Show fixed Hide fixed
WrightTools/artists/_helpers.py Fixed Show fixed Hide fixed
examples/norms.py Fixed Show fixed Hide fixed
docs/conf.py Fixed Show fixed Hide fixed
examples/norms.py Fixed Show fixed Hide fixed
examples/norms.py Fixed Show fixed Hide fixed
examples/norms.py Fixed Show fixed Hide fixed
examples/norms.py Dismissed Show dismissed Hide dismissed
@ddkohler
Copy link
Contributor Author

ddkohler commented Apr 1, 2024

other functions to consider for deprecation:
set_ax_labels
pcolor_helper (already has deprecation warning)

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

Successfully merging this pull request may close these issues.

pytest: build_sphinx failing when examples are modified
1 participant