Skip to content

Interact does not show widgets in IJulia #413

@johnfgibson

Description

@johnfgibson

When I run

using Interact

s = slider(0:.1:1,label="Slider X:")

display(observe(s))

within a Julia jupyter notebook, the output is 0.5, with no slider shown. Similarly with using Colors; map(x -> RGB(x, 0.5, 0.5), observe(s)). I get a grey square but no slider. I'm using

julia> Pkg.status(["Interact"; "WebIO"; "IJulia"])
      Status `~/.julia/environments/v1.7/Project.toml`
  [7073ff75] IJulia v1.23.2
  [c601a237] Interact v0.10.4
  [0f1e0344] WebIO v0.8.16

julia> versioninfo()
Julia Version 1.7.0
Commit 3bf9d17731 (2021-11-30 12:12 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i7-3960X CPU @ 3.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, sandybridge)

I'm using the OS jupyter executable on openSUSE Linux Tumbleweed, jupyter version 4.6.3, and starting my julia notebooks from the Julia prompt with "using IJulia; notebook(dir=pwd())``.

Interactive was working for me well under julia-1.6, but since installing julia-1.7.0, updating packages, and re-debugging the whole Interactive-WebIO-Jupyter with the WebIO Troubleshooting Tips, I get this null behavior.

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