Skip to content

Removal of matplotlib.cm.get_cmap in Matplotlib 3.11.0 #955

Description

@thehrh

Source: Matplotlib 3.11.0 release notes (11 June 2026), which also explains how to substitute it

Problem: The method in question is used 3x by Map.plot() and results in:

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

This is unfortunately not covered by any tests. The latest workflow to run on master already used the 3.11.0 release.

As a result, the Docker image for PISA 4.3a1 is also affected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions