-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
[BUG] julia 1.9 - running plotly() causes all jupyter cell output to be supressed #4739
Comments
I have the same problem with the Julia 1.9.0 release. If I load Jupyter notebook, then use Plots with plotly() backend, the code below does not display the plot object - nothing appears. using Plots If I use the gr() backend, the plot image does display in the noteboook. I should add that if I use Plots with plotly() from the command line REPL, it does work - a tab on my browser opens and displays the plot. |
As a temporary solution, one can install and use the plotlyjs() backend instead of plotly(). using Pkg From Jupyter Notebook: |
This bug has now been fixed. You can read discussion about it here on the IJulia github issues site: |
This bug is currently present on MS Windows (tested 12 Sep 2023), but not on Linux [and also reported on Mac 15 Sep]. Plotly backend does not display a plot in Jupyter notebook. I tested on three PCs, running MS Windows 10, MS Windows 11, and Ubuntu Linux. I did a fresh install of Julia 1.9.3 with added packages: IJulia v1.24.2 and Plots v1.39.0 On MS Windows, no output is shown within Jupyter notebook if I execute: using Plots Oddly, on my Ubuntu Linux installation, running the same version of Julia 1.9.3 and updated packages, it correctly displays the plot. I have opened a new issue on the IJulia github site JuliaLang/IJulia.jl#1094 |
I have the same issue, works with gr() but not with plotly() Julia 1.10.2 MacBookPro M2 VSCode Version: Julia Extension Version: |
Details
If you run this in a jupyter notebook cell, then nothing will show in any other cell.
Using julia 1.9-rc3
Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version:
Backend version (
]st -m <backend(s)>
):Output of
versioninfo()
:The text was updated successfully, but these errors were encountered: