Skip to content

Plots not rendering in IJulia / Julia 1.12.2 #518

Open

Description

@rand5

Equivalent symptoms to #517 although unrelated to installation of 'NumericalDistributions.jl'. 'plots()' not displaying, notebook hangs (hourglass in tab) and nothing else printed after calling 'plots()', .e.g. calling versioninfo() produces no output.

Version info

Julia Version 1.12.2
Commit ca9b6662be (2025-11-20 16:25 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 8 × Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
WORD_SIZE: 64
LLVM: libLLVM-18.1.7 (ORCJIT, skylake)
GC: Built with stock GC
Threads: 1 default, 1 interactive, 1 GC (on 8 virtual cores)

Status C:\Users\Monali\.julia\environments\v1.12\Project.toml
[336ed68f] CSV v0.10.16
[ae264745] Copulas v0.1.33
[a93c6f00] DataFrames v1.8.1
[31c24e10] Distributions v0.25.123
[7073ff75] IJulia v1.34.4
[f0f68f2c] PlotlyJS v0.18.17
[a223df75] Reactive v0.8.3
[2913bbd2] StatsBase v0.34.10
[0f1e0344] WebIO v0.8.21
[9a3f8284] Random v1.11.0

Activity

  1. rand5 commented on Mar 26, 2026

    @rand5
    Author

    I tried to do a clean install of Julia and have not successfully gotten PlotlyJS to work inside a jupyter notebook. These are my install notes:

    1. installed Julia and WebIO.
      WebIO install ran smoothly apart from the following:
    1 dependency had output during precompilation:
    WebSockets
    -WARNING: Imported binding Logging.termlength was undeclared at import time during import to WebSockets.
    -WARNING: Imported binding Logging.Showvalue was undeclared at import time during import to WebSockets
    

    Ignored the warning

    1. Installed PlotlyJS, Conda, then IJulia, in that order. I have always previously started a notebook by calling
    using IJulia
    notebook()
    

    Since I dont have python, the first time I did this I opted for the miniconda installation as recommended in the docs, then called Pkg.build("IJulia")

    1. Following the IJulia install notes, I then ran
    import Conda
    Conda.SCRIPTDIR
    

    to get the install location of jupyter, and confirmed they were in my PATH (they were, so didn't do a computer restart). Restarted Julia and called `Pkg.build("IJulia")'

    1. Ran
    using IJulia
    notebook()
    

    then, within the notebook called using PlotlyJS. Got Warning that The WebIO Jupyter extension was not detected. Also tried

    fig=plot()
    display(fig.plot)
    

    as suggested here, but the notebook hangs on the call to fig = plot().

    1. Revisited the WebIO notes on Jupyter installation and ran:
    using Conda
    Conda.pip_interop(true)
    Conda.pip("install","webio_jupyter_extension")
    

    which warned WARNING conda.cli.condarc:set_key(484): Key pip_interop_enabled is an alias of prefix_data_interoperability; setting value with latter
    then errored
    ERROR: pip_interop is not enabled Use Conda.pip_interop(true; [env::Environment=ROOTENV]) to enable which seems to be an outstanding issue discussed here.

    1. I then went to the trouble-shooting page of WebIO. There are instructions for checking if webio_jupyter_extension is installed but not working for the classic notebook and for jupyterlab, but not for a regular(?) IJulia notebook. According to the IJulia page, notebook, nbclassic and jupyterlab are three distinct things and not clear why WebIO only addressed later 2 of the 3. I tried to manually install the Jupyter notebook extension by running (in the julia REPL)
    using WebIO
    WebIO.install_jupyter_nbextension()
    

    which errored, ERROR: The WebIO Jupyter extension must be installed using Python or Conda.

    I am now at a loss as to what to do:

    Any help is greatly appreciated!

    Version Info

    Julia Version 1.12.5
    Commit 5fe89b8ddc (2026-02-09 16:05 UTC)
    Build Info:
      Official https://julialang.org release
    Platform Info:
      OS: Windows (x86_64-w64-mingw32)
      CPU: 8 × Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz
      WORD_SIZE: 64
      LLVM: libLLVM-18.1.7 (ORCJIT, skylake)
      GC: Built with stock GC
    Threads: 1 default, 1 interactive, 1 GC (on 8 virtual cores)
    

    Status

    C:\Users\Monali\.julia\environments\v1.12\Project.toml
      [8f4d0f93] Conda v1.10.3
      [7073ff75] IJulia v1.34.4
      [f0f68f2c] PlotlyJS v0.18.17
      [0f1e0344] WebIO v0.8.21
    
  2. jjstickel commented on Jun 8, 2026

    @jjstickel
    Contributor

    as suggested here, but the notebook hangs on the call to fig = plot()

    I can confirm that fig = plot() now complete hangs the kernel. I'm on MacOS, Julia 1.12.6, PlotlyJS v0.18.18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions