Title: Change in colorbar extensions · Issue #5524 · matplotlib/matplotlib · GitHub
Open Graph Title: Change in colorbar extensions · Issue #5524 · matplotlib/matplotlib
X Title: Change in colorbar extensions · Issue #5524 · matplotlib/matplotlib
Description: In #5307, where I am lowering our testing tolerance down to zero, I am discovering a few recent changes that slipped through because the tolerance on our tests was too high. In particular 8928311 introduced the following change in test_a...
Open Graph Description: In #5307, where I am lowering our testing tolerance down to zero, I am discovering a few recent changes that slipped through because the tolerance on our tests was too high. In particular 8928311 i...
X Description: In #5307, where I am lowering our testing tolerance down to zero, I am discovering a few recent changes that slipped through because the tolerance on our tests was too high. In particular 8928311 i...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/5524
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Change in colorbar extensions","articleBody":"In #5307, where I am lowering our testing tolerance down to zero, I am discovering a few recent changes that slipped through because the tolerance on our tests was too high.\n\nIn particular 8928311cc833ffa386344445709bcaa8e4b95243 introduced the following change in `test_axes:test_contour_colorbar`.\n\nCurrent baseline image:\n\n\n\nCurrent behavior after 8928311cc833ffa386344445709bcaa8e4b95243:\n\n\n\nThe test code:\n\n```\n@image_comparison(baseline_images=['contour_colorbar'])\ndef test_contour_colorbar():\n x, y, z = contour_dat()\n\n fig = plt.figure()\n ax = fig.add_subplot(111)\n cs = ax.contourf(x, y, z, levels=np.arange(-1.8, 1.801, 0.2),\n cmap=plt.get_cmap('RdBu'),\n vmin=-0.6,\n vmax=0.6,\n extend='both')\n cs1 = ax.contour(x, y, z, levels=np.arange(-2.2, -0.599, 0.2),\n colors=['y'],\n linestyles='solid',\n linewidths=2)\n cs2 = ax.contour(x, y, z, levels=np.arange(0.6, 2.2, 0.2),\n colors=['c'],\n linewidths=2)\n cbar = fig.colorbar(cs, ax=ax)\n cbar.add_lines(cs1)\n cbar.add_lines(cs2, erase=False)\n```\n\n@efiring: Do you know if this change was intentional?\n","author":{"url":"https://github.com/mdboom","@type":"Person","name":"mdboom"},"datePublished":"2015-11-19T22:41:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/5524/matplotlib/issues/5524"}
| 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:c38dfcc7-3a56-f121-1a0a-8bc5f099d76f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D2D2:16EE54:76481:9E07F:6A524AAA |
| html-safe-nonce | 34798b8a7c09527307e5e6125d8123e149d246720c1af4b9d2554ec0172e7aa8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkQyOjE2RUU1NDo3NjQ4MTo5RTA3Rjo2QTUyNEFBQSIsInZpc2l0b3JfaWQiOiI2MjY4NTIxNTc2NTAyODA3MjEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b9e22e775f69024d9a8f9b59c50f7945ae632c411ca25de339d36cd4dc62e019 |
| hovercard-subject-tag | issue:117925527 |
| 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/5524/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1771a707e2cdbeb626965ac71ad11e7012eefcaf0b120b1e5a7309e089cbbe1d/matplotlib/matplotlib/issues/5524 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1771a707e2cdbeb626965ac71ad11e7012eefcaf0b120b1e5a7309e089cbbe1d/matplotlib/matplotlib/issues/5524 |
| og:image:alt | In #5307, where I am lowering our testing tolerance down to zero, I am discovering a few recent changes that slipped through because the tolerance on our tests was too high. In particular 8928311 i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mdboom |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width