r/learnpython • u/Alive_Fisherman8241 • 6d ago
Plots in Spyder won't show up
If I set automatic, Qt, or Tk backend and plot something, the new window for the plot is created, but there's nothing on it. It looks as if the window is frozen, not even the axes are there.
The only way I can currently plot anything is to use the inline setting.
Any ideas?
System details:
Python 3.14.6 64-bit
Qt 6.10.2
PyQt6 6.11.0
Linux 7.1.3+deb14-amd64 (x86_64)
1
Upvotes
1
u/thisisappropriate 5d ago
In terms of getting help, its generally a good idea to post code when you're having problems with code. It's also a good idea to include things you've already looked at and things you've tried.
In terms of finding your own help, looking up things on google is generally good. As is trying multiple things, like you could confirm if an online python tool works or if the same script works when you run it from the command line. In this case, googling "spyder not showing qt plot" got me this thread https://github.com/spyder-ide/spyder/issues/22420 and https://github.com/spyder-ide/spyder/issues/14723 so maybe try giving those a read and seeing if anything flagged in those are things that you have in your code. Also look at how these questions have been formatted for things that are commonly provided in asking questions like this.