Title: custom_scale_example.py fails with axisbelow True · Issue #6312 · matplotlib/matplotlib · GitHub
Open Graph Title: custom_scale_example.py fails with axisbelow True · Issue #6312 · matplotlib/matplotlib
X Title: custom_scale_example.py fails with axisbelow True · Issue #6312 · matplotlib/matplotlib
Description: Tested in master with the qt4agg backend on OSX, examples/api/custom_scale_example.py fails at the point of drawing the y-label unless rcParams[axes.axisbelow] = False. This has always been the default, but #6287 proposes a change to a n...
Open Graph Description: Tested in master with the qt4agg backend on OSX, examples/api/custom_scale_example.py fails at the point of drawing the y-label unless rcParams[axes.axisbelow] = False. This has always been the def...
X Description: Tested in master with the qt4agg backend on OSX, examples/api/custom_scale_example.py fails at the point of drawing the y-label unless rcParams[axes.axisbelow] = False. This has always been the def...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/6312
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"custom_scale_example.py fails with axisbelow True","articleBody":"Tested in master with the qt4agg backend on OSX, `examples/api/custom_scale_example.py` fails at the point of drawing the y-label unless `rcParams[axes.axisbelow] = False`. This has always been the default, but #6287 proposes a change to a new option, which triggers the failure. Modifying the example to change `axisbelow` to `True` also triggers it, with the following traceback:\n\n```\n(test)efiring@manini2:~/work/programs/py/mpl/matplotlib/examples$ python api/custom_scale_example.py\nTraceback (most recent call last):\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/backends/backend_qt5agg.py\", line 179, in __draw_idle_agg\n FigureCanvasAgg.draw(self)\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/backends/backend_agg.py\", line 464, in draw\n self.figure.draw(self.renderer)\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/artist.py\", line 68, in draw_wrapper\n return draw(artist, renderer, *args, **kwargs)\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/figure.py\", line 1262, in draw\n renderer, self, dsu, self.suppressComposite)\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/image.py\", line 139, in _draw_list_compositing_images\n a.draw(renderer)\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/artist.py\", line 68, in draw_wrapper\n return draw(artist, renderer, *args, **kwargs)\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/axes/_base.py\", line 2361, in draw\n mimage._draw_list_compositing_images(renderer, self, dsu)\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/image.py\", line 139, in _draw_list_compositing_images\n a.draw(renderer)\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/artist.py\", line 68, in draw_wrapper\n return draw(artist, renderer, *args, **kwargs)\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/axis.py\", line 1142, in draw\n self.label.draw(renderer)\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/artist.py\", line 68, in draw_wrapper\n return draw(artist, renderer, *args, **kwargs)\n File \"/Users/efiring/anaconda/envs/test/lib/python3.5/site-packages/matplotlib/text.py\", line 762, in draw\n raise ValueError(\"posx and posy should be finite values\")\nValueError: posx and posy should be finite values\n```\n","author":{"url":"https://github.com/efiring","@type":"Person","name":"efiring"},"datePublished":"2016-04-18T01:40:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/6312/matplotlib/issues/6312"}
| 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:892cc568-088b-b18b-a5f4-e6197de711ef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4CA:35AF44:4351564:5D8BA3C:6A54DF7D |
| html-safe-nonce | 35dd47ff9dfc50b782870cd1efd5fa981733e1e2868884e26921e8d1d12106a3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENENBOjM1QUY0NDo0MzUxNTY0OjVEOEJBM0M6NkE1NERGN0QiLCJ2aXNpdG9yX2lkIjoiNjQzNzYxNTI1MDY5NTMxNTMyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b4b97c0f4852ecc851936711561a658fab671110b6a40279bf2c0946988705ab |
| hovercard-subject-tag | issue:149017954 |
| 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/6312/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b3f5f225c15934ed22541b4f4390d9e199b96dff825b26dc71c408b1c50db7b/matplotlib/matplotlib/issues/6312 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b3f5f225c15934ed22541b4f4390d9e199b96dff825b26dc71c408b1c50db7b/matplotlib/matplotlib/issues/6312 |
| og:image:alt | Tested in master with the qt4agg backend on OSX, examples/api/custom_scale_example.py fails at the point of drawing the y-label unless rcParams[axes.axisbelow] = False. This has always been the def... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | efiring |
| hostname | github.com |
| expected-hostname | github.com |
| None | a556215b071af6609619e2bbe6f00bdfbf0812ad723b1ae6c301858a7a829f54 |
| 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 | 00f21e38abd06cd6752db5c227083570f72fdb6c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width