Title: Wait cursor may cause Tk to print _get_renderer.Done backtrace · Issue #18186 · matplotlib/matplotlib · GitHub
Open Graph Title: Wait cursor may cause Tk to print _get_renderer.Done backtrace · Issue #18186 · matplotlib/matplotlib
X Title: Wait cursor may cause Tk to print _get_renderer.Done backtrace · Issue #18186 · matplotlib/matplotlib
Description: Bug report Bug summary I was looking at #11769, and apparently Gouraud shading was slow enough to trigger the wait cursor on the third figure. This printed out a backtrace, though the figures seems to be saved just fine. Code for reprodu...
Open Graph Description: Bug report Bug summary I was looking at #11769, and apparently Gouraud shading was slow enough to trigger the wait cursor on the third figure. This printed out a backtrace, though the figures seems...
X Description: Bug report Bug summary I was looking at #11769, and apparently Gouraud shading was slow enough to trigger the wait cursor on the third figure. This printed out a backtrace, though the figures seems...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/18186
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wait cursor may cause Tk to print _get_renderer.Done backtrace","articleBody":"## Bug report\r\n\r\n**Bug summary**\r\n\r\nI was looking at #11769, and apparently Gouraud shading was slow enough to trigger the wait cursor on the third figure. This printed out a backtrace, though the figures seems to be saved just fine.\r\n\r\n**Code for reproduction**\r\n\r\nSee #11769.\r\n\r\n**Actual outcome**\r\n\r\n```\r\n../mpl-tests/issue11769.py:23: MatplotlibDeprecationWarning: shading='flat' when X and Y have the same dimensions as C is deprecated since 3.3. Either specify the corners of the quadrilaterals with X and Y, or pass shading='auto', 'nearest' or 'gouraud', or set rcParams['pcolor.shading']. This will become an error two minor releases later.\r\n plt.pcolormesh(x,y,map2,cmap='viridis',vmin=np.nanmin(map2),vmax=np.nanmax(map2))\r\n\r\nException in Tkinter callback\r\nTraceback (most recent call last):\r\n File \"/var/container/conda/envs/mpl37/lib/python3.7/tkinter/__init__.py\", line 1705, in __call__\r\n return self.func(*args)\r\n File \"/var/container/conda/envs/mpl37/lib/python3.7/tkinter/__init__.py\", line 749, in callit\r\n func(*args)\r\n File \".../matplotlib/lib/matplotlib/backends/_backend_tk.py\", line 247, in idle_draw\r\n self.draw()\r\n File \".../matplotlib/lib/matplotlib/backends/backend_tkagg.py\", line 9, in draw\r\n super().draw()\r\n File \".../matplotlib/lib/matplotlib/backends/backend_agg.py\", line 409, in draw\r\n self.figure.draw(self.renderer)\r\n File \".../matplotlib/lib/matplotlib/backend_bases.py\", line 1546, in _draw\r\n def _draw(renderer): raise Done(renderer)\r\nmatplotlib.backend_bases._get_renderer.\u003clocals\u003e.Done: \u003cmatplotlib.backends.backend_agg.RendererAgg object at 0x7f45c8946290\u003e\r\n```\r\n\r\n**Expected outcome**\r\n\r\nNo backtrace printed.\r\n\r\n**Matplotlib version**\r\n * Operating system: Fedora 31\r\n * Matplotlib version: master 52761deb15b9c0aca05112befcdefce5cea0a2ad\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): TkAgg\r\n * Python version: 3.7.6","author":{"url":"https://github.com/QuLogic","@type":"Person","name":"QuLogic"},"datePublished":"2020-08-05T22:28:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/18186/matplotlib/issues/18186"}
| 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:d4a4573f-e0df-b141-56ab-fae37603d05a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D15A:2F9C11:179944D:1FFF546:6A546DB1 |
| html-safe-nonce | 94b0ff8251bb569dc703e6adfc450096a530f35253df824c02461c6afcbd3158 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTVBOjJGOUMxMToxNzk5NDREOjFGRkY1NDY6NkE1NDZEQjEiLCJ2aXNpdG9yX2lkIjoiNjkwNjgwMzE4NjEyMTg2MjU3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f583d4c067070873d3d1d1774445c6e5ff5aa2e5eb9f59308ce7bdfa4ac97cb0 |
| hovercard-subject-tag | issue:673887229 |
| 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/18186/issue_layout |
| twitter:image | https://opengraph.githubassets.com/473d3ab3a9fcf5286e5fdf3f1c54f391ba796b6ae543068ff9722a43baa61459/matplotlib/matplotlib/issues/18186 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/473d3ab3a9fcf5286e5fdf3f1c54f391ba796b6ae543068ff9722a43baa61459/matplotlib/matplotlib/issues/18186 |
| og:image:alt | Bug report Bug summary I was looking at #11769, and apparently Gouraud shading was slow enough to trigger the wait cursor on the third figure. This printed out a backtrace, though the figures seems... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | QuLogic |
| 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 | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width