The Wayback Machine - https://web.archive.org/web/20230512170610/https://github.com/matplotlib/matplotlib/issues/25849
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: show() or savefig() freeze Python 3.8, 100% CPU #25849

Open
unixb0y opened this issue May 10, 2023 · 0 comments
Open

[Bug]: show() or savefig() freeze Python 3.8, 100% CPU #25849

unixb0y opened this issue May 10, 2023 · 0 comments
Labels

Comments

@unixb0y
Copy link

unixb0y commented May 10, 2023

Bug summary

I'm running Python3.8 on a Ubuntu 18.04.6 LTS (32-bit) box.
Tried different Matplotlib releases, even back to version 3.0.3, always the same issue. CPU goes to 100%, empty Window pops up (in case of show) and Python freezes up; have to kill it manually.

Code for reproduction

# Example 1
import matplotlib.pyplot as plt
plt.plot([1,2,3],[3,0,3])
plt.show()

# Example 2
import matplotlib.pyplot as plt
plt.plot([1,2,3],[3,0,3])
plt.savefig("test.png")

Actual outcome

Freeze

Expected outcome

Plot as pop-up / file on disk

Additional information

No response

Operating system

Ubuntu 18.04.6 LTS

Matplotlib Version

3.0.3 up to 3.7.0

Matplotlib Backend

TkAgg

Python version

Python 3.8.0

Jupyter version

No response

Installation

pip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants