Closed
Description
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
Labels
No labels