Skip to content

Conversation

@vovw
Copy link
Contributor

@vovw vovw commented Sep 14, 2025

  • Replace matplotlib.cm.get_cmap() with matplotlib.colormaps.get_cmap()
  • Replace plt.get_cmap() with matplotlib.colormaps.get_cmap()
  • Update cebra/integrations/plotly.py, matplotlib.py, and tests/test_plotly.py
  • Remove matplotlib<3.11 version pin from setup.cfg
  • Ensures future compatibility with matplotlib 3.11+ releases

Fixes #240

- Replace matplotlib.cm.get_cmap() with matplotlib.colormaps.get_cmap()
- Replace plt.get_cmap() with matplotlib.colormaps.get_cmap()
- Update cebra/integrations/plotly.py, matplotlib.py, and tests/test_plotly.py
- Remove matplotlib<3.11 version pin from setup.cfg
- Ensures future compatibility with matplotlib 3.11+ releases

Fixes AdaptiveMotorControlLab#240
@cla-bot
Copy link

cla-bot bot commented Sep 14, 2025

Thank you for your contribution. We require contributors to sign our Contributor License Agreement (CLA). We do not have a signed CLA on file for you. In order for us to review and merge your code, please sign our CLA here. After you signed, you can comment on this PR with @cla-bot check to trigger another check.

@vovw
Copy link
Contributor Author

vovw commented Sep 14, 2025

@cla-bot check

@cla-bot cla-bot bot added the CLA signed label Sep 14, 2025
@cla-bot
Copy link

cla-bot bot commented Sep 14, 2025

Thanks for tagging me. I looked for a signed form under your signature again, and updated the status on this PR. If the check was successful, no further action is needed. If the check was unsuccessful, please see the instructions in my first comment.

Copy link
Member

@MMathisLab MMathisLab left a comment

Choose a reason for hiding this comment

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

Lgtm- thanks for contributing!

@stes
Copy link
Member

stes commented Sep 15, 2025

Lgtm -- the failing windows test is unrelated (#270). Fine to merge from my end, @MMathisLab ?

@MMathisLab MMathisLab merged commit a558ec6 into AdaptiveMotorControlLab:main Sep 15, 2025
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor colormap loading in cebra.integrations.plotly.plot_embedding_interactive for matplotlib 3.11

3 participants