Skip to content

[Bug]: tripcolor ignores clim #22726

@anntzer

Description

@anntzer

Bug summary

from pylab import *
tripcolor(np.random.rand(100), np.random.rand(100), np.random.rand(100), clim=(0, 0.5))
colorbar()
show()

shows that tripcolor ignores clim.

Code for reproduction

See above.

Actual outcome

Colorbar/colormapping goes from nearly 0 to nearly 1.

Expected outcome

Colorbar/colormapping goes from 0 to 0.5.

Additional information

This is the same issue as #21146/#21525: kwargs should be handled a bit further down in the implementation of tripcolor() (just before calling _scale_norm).

Operating system

arch linux

Matplotlib Version

3.6.0.dev1920+gdfd83c2c5d

Matplotlib Backend

mplcairo

Python version

310

Jupyter version

ENOSUCHLIB

Installation

git checkout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy