Skip to content

3.10 Matplotlib Incompatable with ProPlot #472

@wblumberg

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.

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