Skip to content

Future incompatibility with MPL #83

Closed

Description

@neutrinoceros

Just wanted to warn you about the pending deprecation of some functions in the matplotlib.cm namespace that are used in cmocean, like register_cmap

matplotlib/matplotlib#23668

If it's any help, here's the patch I wrote to adapt to these deprecations in yt
yt-project/yt#4089

I can also submit a PR here if you lack time for this.

Activity

  1. camUrban commented on Jan 8, 2023

    @camUrban

    I'm getting a depreciation warning from Matplotlib when I use cmocean because of register_cmap. A bug fix for this issue would be awesome! 😄

  2. neutrinoceros commented on Jan 8, 2023

    @neutrinoceros
    ContributorAuthor

    @kthyng any chance you could give a status on this ?

  3. kthyng commented on Jan 10, 2023

    @kthyng
    Contributor

    @neutrinoceros So sorry I've been unresponsive! It's hard to find the time for this at the moment. If you do have the bandwidth for a PR I'll be more responsive. Otherwise I'll aim to work on it in the time frame of the next month. Sorry I can't be faster!

  4. neutrinoceros commented on Jan 11, 2023

    @neutrinoceros
    ContributorAuthor

    I'm still happy to give it a go. I'm going to aim at delivering a PR before next week !

  5. kthyng commented on Jan 13, 2023

    @kthyng
    Contributor
  6. dstansby commented on Mar 16, 2023

    @dstansby
    Member

    Any chance a new release can be put out with this fix in it?

  7. kthyng commented on Mar 20, 2023

    @kthyng
    Contributor

    @dstansby, @neutrinoceros, @camUrban — There is a new release for cmocean on PyPI now! Sorry for the delay — I think I had a plan to do this earlier but didn't end up getting back to it when I thought I would. The new version is still propagating to conda-forge but hopefully will in the next day.

  8. dstansby commented on Mar 20, 2023

    @dstansby
    Member

    Amazing, thanks a lot 😄

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions