Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Bug]: tripcolor ignores clim #22726

Copy link
Copy link
Closed
@anntzer

Description

@anntzer
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.