Title: BUG: clabel manual mode doesn't make a gap big enough in contour · Issue #8819 · matplotlib/matplotlib · GitHub
Open Graph Title: BUG: clabel manual mode doesn't make a gap big enough in contour · Issue #8819 · matplotlib/matplotlib
X Title: BUG: clabel manual mode doesn't make a gap big enough in contour · Issue #8819 · matplotlib/matplotlib
Description: Bug report Bug summary Using plt.clabel(manual=True) adds labels but the labels are not easily readable because only a small gap is created in the contour. Code for reproduction The following works: plt.figure() x = np.arange(400).reshap...
Open Graph Description: Bug report Bug summary Using plt.clabel(manual=True) adds labels but the labels are not easily readable because only a small gap is created in the contour. Code for reproduction The following works...
X Description: Bug report Bug summary Using plt.clabel(manual=True) adds labels but the labels are not easily readable because only a small gap is created in the contour. Code for reproduction The following works...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/8819
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"BUG: clabel manual mode doesn't make a gap big enough in contour","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\nUsing ``plt.clabel(manual=True)`` adds labels but the labels are not easily readable because only a small gap is created in the contour.\r\n\r\n**Code for reproduction**\r\n\r\nThe following works:\r\n\r\n```python\r\nplt.figure()\r\nx = np.arange(400).reshape((20,20))\r\nc = plt.contour(x)\r\nplt.clabel(c)\r\n```\r\n\r\n\u003cimg width=\"752\" alt=\"screen shot 2017-06-29 at 09 59 25\" src=\"https://user-images.githubusercontent.com/314716/27677788-242a8664-5cb3-11e7-8231-03b00d006672.png\"\u003e\r\n\r\nBut the following doesn't give as nice a result:\r\n\r\n```python\r\nplt.figure()\r\nx = np.arange(400).reshape((20,20))\r\nc = plt.contour(x)\r\nplt.clabel(c, manual=True)\r\n# click around\r\n```\r\n\r\n\u003cimg width=\"752\" alt=\"screen shot 2017-06-29 at 09 59 29\" src=\"https://user-images.githubusercontent.com/314716/27677808-3740dc6c-5cb3-11e7-9eab-0268dce8a443.png\"\u003e\r\n\r\nThis happens with both the Qt5 and MacOS X backends, and I am using a retina display.\r\n\r\n**Matplotlib version**\r\n\r\n * Operating System: MacOS X 10.11\r\n * Matplotlib Version: 2.0.2\r\n * Python Version: 3.6.1\r\n","author":{"url":"https://github.com/astrofrog","@type":"Person","name":"astrofrog"},"datePublished":"2017-06-29T08:12:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/8819/matplotlib/issues/8819"}
| 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:924c20d2-ba2a-c3d9-3bb5-82aab48abdb0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8372:1A7CA7:2925496:3744541:6A53A86C |
| html-safe-nonce | 584e5ea32e652190f97d9af8764e25b414ee3409d3b84df4781468594c6539f4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzcyOjFBN0NBNzoyOTI1NDk2OjM3NDQ1NDE6NkE1M0E4NkMiLCJ2aXNpdG9yX2lkIjoiMjczMDgwNDk3NjY4NzQ5MTE4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 88e2b4d7b5a8c5ad70b1e3333bf58834cf31a36dd76308a6a4b6423c254acf08 |
| hovercard-subject-tag | issue:239398521 |
| 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/8819/issue_layout |
| twitter:image | https://opengraph.githubassets.com/471db6adf17d15187b29e8fe609f4fbc5738c5751bef7458f0cae5e6c22124b8/matplotlib/matplotlib/issues/8819 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/471db6adf17d15187b29e8fe609f4fbc5738c5751bef7458f0cae5e6c22124b8/matplotlib/matplotlib/issues/8819 |
| og:image:alt | Bug report Bug summary Using plt.clabel(manual=True) adds labels but the labels are not easily readable because only a small gap is created in the contour. Code for reproduction The following works... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | astrofrog |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width