Skip to content

3.10 Matplotlib Incompatable with ProPlot #472

Open

Description

@wblumberg

Posting this Issue so that people can be aware of it and perhaps fix it. I recently downloaded Matplotlib and ProPlot lately and ran into an issue. Here is a screenshot of this error using an example block of code (along with versions)

Image

It appears that from my Googling that the latest Matplotlib (I think v3.10) removed the "collections" attribute from the QuadContourSet class. See the link below:

https://discourse.matplotlib.org/t/collections-attribute-deprecation-in-version-3-8/24164/12

The key error is: AttributeError: 'QuadContourSet' object has no attribute 'collections' contourf

The version of ProPlot I'm using is the one recommended in the Issues that is compatible with more up-to-date packages. (pip install git+https://github.com/proplot-dev/proplot.git@refs/pull/459/head). It appears that downgrading Matplotlib to 3.8 can fix this issue.

Activity

  1. jenchen95 commented on Mar 26, 2025

    @jenchen95

    Hi. There is a new fork of Proplot named Ultraplot that may already solve this issue. If not, I believe the passionate maintainers will fix it quickly.

    https://github.com/Ultraplot/ultraplot

    Best wishes.

  2. wblumberg commented on Mar 27, 2025

    @wblumberg
    Author

    Ah! I was completely unaware there was a successor to ProPlot. I'm very happy to hear that as this is such a great package. I'll start following over there then.

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