René's URL Explorer Experiment


Title: [Bug]: Figures fail to redraw with IPython · Issue #23042 · matplotlib/matplotlib · GitHub

Open Graph Title: [Bug]: Figures fail to redraw with IPython · Issue #23042 · matplotlib/matplotlib

X Title: [Bug]: Figures fail to redraw with IPython · Issue #23042 · matplotlib/matplotlib

Description: Bug summary A regression between release versions 3.5.1 and 3.5.2 causes figures to fail to redraw after an initial plot is added using the pyplot interface in an interactive IPython session. This has been observed with both pyplot.plot ...

Open Graph Description: Bug summary A regression between release versions 3.5.1 and 3.5.2 causes figures to fail to redraw after an initial plot is added using the pyplot interface in an interactive IPython session. This ...

X Description: Bug summary A regression between release versions 3.5.1 and 3.5.2 causes figures to fail to redraw after an initial plot is added using the pyplot interface in an interactive IPython session. This ...

Opengraph URL: https://github.com/matplotlib/matplotlib/issues/23042

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Figures fail to redraw with IPython","articleBody":"### Bug summary\n\nA regression between release versions 3.5.1 and 3.5.2 causes figures to fail to redraw after an initial plot is added using the `pyplot` interface in an interactive IPython session. This has been observed with both `pyplot.plot` and `pyplot.tripcolor`. The figure will show the first plot drawn, but subsequent calls to `pyplot.plot` and `pyplot.tripcolor` fail to update an on-screen figure until `pyplot.draw` is invoked. This has been observed with IPython versions 8.3.0 (current) and 8.2.0.\r\n\r\nBoth the Qt5 and Tk backends exhibit the same issues.\n\n### Code for reproduction\n\n```python\n# Install matplotlib and ipython in a virtualenv\r\npython3 -m venv ~/mpl.venv\r\n. ~/mpl.venv/bin/activate\r\npip install matplotlib ipython\r\n\r\n# Make sure to start with a clean config\r\nmv ~/.ipython ~/.ipython.backup\r\nmv ~/.config/matplotlib .config/matplotlib.backup\r\n\r\n# Run `pylab`\r\nipython --pylab=tk\r\n\r\n# ... the following are commands issues in the ipython prompt\r\nplot(arange(10))\r\nplot(-arange(10))\r\ndraw()\n```\n\n\n### Actual outcome\n\n1. After the first `plot` command, a figure appears with a `y = x` line shown.\r\n2. After the second `plot` command, the figure does not update.\r\n3. After the `draw` command, the figure updates to show both the `y = x` and `y = -x` lines.\n\n### Expected outcome\n\n1. After the first `plot` command, a figure appears with a `y = x` line shown. (This is as expected.)\r\n2. After the second `plot` command, the figure updates with the addition of a `y = -x` line. (This is the deviation.)\r\n3. The `draw` command should produce no visible change in the figure.\n\n### Additional information\n\nThis regression has been bisected to commit f937b0ab5ef9d5ffe9f2f58f6391357783cc4afa.\r\n\r\nThe testbed is a current Void Linux system running Python 3.10.4, including the system `python3-tkinter` package for a GUI. (As noted above, this bug is also present with the Qt5 backend.) All packages were installed in a virtual environment. The output of `pip freeze` is:\r\n\r\n```\r\nasttokens==2.0.5\r\nbackcall==0.2.0\r\ncycler==0.11.0\r\ndecorator==5.1.1\r\nexecuting==0.8.3\r\nfonttools==4.33.3\r\nipython==8.3.0\r\njedi==0.18.1\r\nkiwisolver==1.4.2\r\nmatplotlib==3.6.0.dev155+gf937b0ab5e\r\nmatplotlib-inline==0.1.3\r\nnumpy==1.22.3\r\npackaging==21.3\r\nparso==0.8.3\r\npexpect==4.8.0\r\npickleshare==0.7.5\r\nPillow==9.1.0\r\nprompt-toolkit==3.0.29\r\nptyprocess==0.7.0\r\npure-eval==0.2.2\r\nPygments==2.12.0\r\npyparsing==3.0.9\r\npython-dateutil==2.8.2\r\nsetuptools-scm==6.4.2\r\nsix==1.16.0\r\nstack-data==0.2.0\r\ntk==0.1.0\r\ntomli==2.0.1\r\ntraitlets==5.2.0\r\nwcwidth==0.2.5\r\n```\r\n(Note that the funny `matplotlib` version comes from a local git repo checked out to the problematic commit.)\n\n### Operating system\n\nVoid Linux x86_64\n\n### Matplotlib Version\n\n3.5.2\n\n### Matplotlib Backend\n\nTkAgg, Qt5Agg\n\n### Python version\n\n3.10.4\n\n### Jupyter version\n\nNone\n\n### Installation\n\npip","author":{"url":"https://github.com/ahesford","@type":"Person","name":"ahesford"},"datePublished":"2022-05-13T02:32:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/23042/matplotlib/issues/23042"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:af04ef89-09d3-984c-de2c-7a9ad903a561
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id94C4:29DE49:C73BEB:108B85D:6A5287AA
html-safe-nonce0ab257c385c0f908421a5ef5262df98d55bfdc5d4c33fdbfb496c5cfe0f9bfbf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEM0OjI5REU0OTpDNzNCRUI6MTA4Qjg1RDo2QTUyODdBQSIsInZpc2l0b3JfaWQiOiIxMjA3NDA2NTQ5ODQ4OTAyODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac61cccc4653eebe3e39e7807373b70ab3357e00ed77090ba74f77ace6a2e0eb48
hovercard-subject-tagissue:1234668658
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/23042/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ca9addc9a879c3018a8e662ef1213a78755d9ae10bd33319ac3c4d343fb03df7/matplotlib/matplotlib/issues/23042
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ca9addc9a879c3018a8e662ef1213a78755d9ae10bd33319ac3c4d343fb03df7/matplotlib/matplotlib/issues/23042
og:image:altBug summary A regression between release versions 3.5.1 and 3.5.2 causes figures to fail to redraw after an initial plot is added using the pyplot interface in an interactive IPython session. This ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahesford
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/issues/23042#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F23042
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fissues%2F23042
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/issues/23042
Reloadhttps://github.com/matplotlib/matplotlib/issues/23042
Reloadhttps://github.com/matplotlib/matplotlib/issues/23042
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/23042
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/issues/23042
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 408 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
#23057https://github.com/matplotlib/matplotlib/pull/23057
[Bug]: Figures fail to redraw with IPythonhttps://github.com/matplotlib/matplotlib/issues/23042#top
#23057https://github.com/matplotlib/matplotlib/pull/23057
v3.5.3https://github.com/matplotlib/matplotlib/milestone/71
https://github.com/ahesford
ahesfordhttps://github.com/ahesford
on May 13, 2022https://github.com/matplotlib/matplotlib/issues/23042#issue-1234668658
f937b0ahttps://github.com/matplotlib/matplotlib/commit/f937b0ab5ef9d5ffe9f2f58f6391357783cc4afa
v3.5.3https://github.com/matplotlib/matplotlib/milestone/71
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.