Title: [Bug]: tripcolor ignores clim · Issue #22726 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: tripcolor ignores clim · Issue #22726 · matplotlib/matplotlib
X Title: [Bug]: tripcolor ignores clim · Issue #22726 · matplotlib/matplotlib
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/colorma...
Open Graph 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 Se...
X 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 Se...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/22726
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: tripcolor ignores clim","articleBody":"### Bug summary\n\n```python\r\nfrom pylab import *\r\ntripcolor(np.random.rand(100), np.random.rand(100), np.random.rand(100), clim=(0, 0.5))\r\ncolorbar()\r\nshow()\r\n```\r\nshows that tripcolor ignores clim.\n\n### Code for reproduction\n\n```python\nSee above.\n```\n\n\n### Actual outcome\n\nColorbar/colormapping goes from nearly 0 to nearly 1.\n\n### Expected outcome\n\nColorbar/colormapping goes from 0 to 0.5.\n\n### Additional information\n\nThis 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).\n\n### Operating system\n\narch linux\n\n### Matplotlib Version\n\n3.6.0.dev1920+gdfd83c2c5d\n\n### Matplotlib Backend\n\nmplcairo\n\n### Python version\n\n310\n\n### Jupyter version\n\nENOSUCHLIB\n\n### Installation\n\ngit checkout","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2022-03-29T10:06:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/22726/matplotlib/issues/22726"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bcdbe907-c9ed-4b12-2dd3-d815dd2c2e44 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D73C:3F9E46:21AD264:30B25A2:6A55057C |
| html-safe-nonce | 68a0b9dd4404f366aa4ef6f526b8d92275c43193f7f3ea830150d82b17149fe0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzNDOjNGOUU0NjoyMUFEMjY0OjMwQjI1QTI6NkE1NTA1N0MiLCJ2aXNpdG9yX2lkIjoiNTgzODcyOTk5NzM5ODExNTcwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 36cc782029b8d1d010eaa54b33c08ab768d0777aca81a3c632d8d0b572eb492f |
| hovercard-subject-tag | issue:1184624122 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/22726/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ee682792a9f143fc233653d8bb977fc271f92c6e79e84be03b89dffb871c592d/matplotlib/matplotlib/issues/22726 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee682792a9f143fc233653d8bb977fc271f92c6e79e84be03b89dffb871c592d/matplotlib/matplotlib/issues/22726 |
| og:image:alt | 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 Se... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | eae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839 |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6a35ab858be185cd86d12b93a43bccf34e8d8536 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width