-
Notifications
You must be signed in to change notification settings - Fork 1
Description
@scopatz recently fixed part of the mpl xontrib xonsh/xonsh#2225. But the functionality doesn't work completely work on Windows. Figures still block.
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>
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 π comment
