Skip to content

Figures don't appear in Jupyter Lab #3117

@limarta

Description

@limarta
  • are you running newest version? Julia 1.9.2, WGLMakie 0.8.11, IJulia 1.24.2
  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie) yes
  • What platform + GPU are you on? M1 Mac. v12.5.
    MWE Steps:
  1. Run jupyter-lab
using WGLMakie
Makie.inline!(true)

f = Figure(resolution = (800, 800))
Axis(f[1, 1], backgroundcolor = "black")

xs = LinRange(0, 2pi, 20)
ys = LinRange(0, 3pi, 20)
us = [sin(x) * cos(y) for x in xs, y in ys]
vs = [-cos(x) * sin(y) for x in xs, y in ys]
strength = vec(sqrt.(us .^ 2 .+ vs .^ 2))

arrows!(xs, ys, us, vs, arrowsize = 10, lengthscale = 0.3,
    arrowcolor = strength, linecolor = strength)

f

An example output with no figure below the cell:
Screen Shot 2023-08-01 at 9 57 11 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Integrationwith other packagesWGLMakieThis relates to WGLMakie.jl, the Web-based WebGL backend for Makie.bugspecific environmentrelated to a specific environment/configuration, e.g. headless, ssh, vscode, etc

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions