You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@scopatz recently fixed part of the mpl xontrib xonsh/xonsh#2225. But the functionality doesn't work completely work on Windows. Figures still block.
See here:
It just shows a blank figure. If I then run plt.show() the figure renders but then the prompt it blocked. Closing the figure returns the prompt. But if I press ctrl-c instead I get the following error.
snail@sea ~\Documents\xonsh ie
$ plt.show() (CTRL-C)
QObject::killTimers: timers cannot be stopped from another thread
PS C:\Users\mel\Documents\xonsh>
@scopatz recently fixed part of the
mpl
xontrib xonsh/xonsh#2225. But the functionality doesn't work completely work on Windows. Figures still block.See here:
It just shows a blank figure. If I then run
plt.show()
the figure renders but then the prompt it blocked. Closing the figure returns the prompt. But if I pressctrl-c
instead I get the following error.I looked for solutions. @asmeurer recently asked a related question on SO.
http://stackoverflow.com/questions/42019739/how-to-build-a-python-repl-with-non-blocking-matplotlib-like-ipythons-matplot
We may have to hook into PTK's eventloop. I wonder if this is also the solution on Windows.
@asmeurer . Just curious what REPL are you building?
For community
⬇️ Please click the 👍 reaction instead of leaving a
+1
or 👍 commentThe text was updated successfully, but these errors were encountered: