Skip to content

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! 🥇

to communicate your data!
"""

import WrightTools as wt

Check notice

Code scanning / CodeQL

Module is imported with 'import' and 'import from'

Module 'WrightTools' is imported with both 'import' and 'import from'.
@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

2 participants