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

PyPlot - bug in IJulia display #29

Closed
tbreloff opened this issue Sep 24, 2015 · 2 comments
Closed

PyPlot - bug in IJulia display #29

tbreloff opened this issue Sep 24, 2015 · 2 comments
Labels

Comments

@tbreloff
Copy link
Member

PyPlot seems to display at several intermediate stages of plot creation from IJulia, and doesn't show the final plot. I suspect this is due to PyPlot.jl automatically inserting the object into a display queue on calls to PyPlot.

Things to try:

  • Bypass the call to PyPlot.figure?
  • Replace PyPlot.plot, PyPlot.legend, etc with direct calls to matplotlib?
@KristofferC
Copy link
Contributor

Maybe the commands ion() and ioff() in PyPlot can be of help. These turn on/off interactive mode and by calling ioff() first, the plots from PyPlot does not show up in IJulia. Maybe you can just display the plot object then?

@tbreloff
Copy link
Member Author

@KristofferC you're a genius!! 💯

tmp

I'll fix properly and push to master today.

t-bltg pushed a commit that referenced this issue Oct 6, 2022
Replace d by plotattributes
t-bltg pushed a commit that referenced this issue Oct 6, 2022
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