Skip to content

Proplot not compatible with matplotlib 3.6 #390

@swamidass

Description

@swamidass

Looks like the current version of proplot does not work with matplotlib==3.6 (though it works fine with 3.5).

The import:

import proplot as pplt

Throws:

AttributeError: module 'matplotlib.cm' has no attribute 'cmap_d'

From: proplot/colors.py:3111,

_cmap_database = _init_cmap_database()

This might be fixable by changing the reference to cmap_d to point instead to matplotlib.colormaps.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions