Skip to content

Change in custom norm colour map display #20581

Closed
@QuLogic

Description

@QuLogic

Compare https://matplotlib.org/stable/tutorials/colors/colormapnorms.html

image

vs https://matplotlib.org/devdocs/tutorials/colors/colormapnorms.html

image

The same thing happens with the custom norm at the end of the tutorial. I'm not sure about TwoSlopeNorm, but at least for the custom one, the 0 is definitely not supposed to be in the middle. This half broke when merging #20054, with the 0 tick at the old place but the 0 colour in the middle. Then with d1c5a6a, the 0 tick also moved to the middle.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions