-
Notifications
You must be signed in to change notification settings - Fork 14
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
pl.show()
still not working (?) in interactive mode
#68
Comments
pl.show()
still not working (?) in interactive mode?pl.show()
still not working (?) in interactive mode
It seems like the bug resurfaced. By running the code of this comment here (please delete the |
It seems like that the check: # Manually show plot if we're not in interactive mode
# https://stackoverflow.com/a/64523765
if not hasattr(sys, "ps1"):
plt.show() doesn't cover the case in which we are in Python console. II think that the solution proposed in #71, would solve both bugs: I suggest to add a parameter |
You could also look into If interactive mode is activated, figures will be shown and redrawn automatically on each update. In jupyter notebooks, this is active by default. I lean towards reducing the number of options like |
I am using the latest code from main. If I run this code as a script, the plot is shown. If I set a breakpoint (I am using PyCharm) in the line with
pl.render_points()...
, and then run that line in the Python interactive console, then no plot is shown and I need to callplt.show()
explicitly. I think the bug was once fixed, maybe it slipped in again.The text was updated successfully, but these errors were encountered: