Skip to content

Error when trying to display a figure from GLMakie through juliacall #212

Closed
@findmyway

Description

@findmyway

Hi,

I'd like to call Julia code from python to display some interactive figures. MWE:

In [1]: from juliacall import Main as jl

In [2]: jl.seval("using GLMakie")

In [3]: jl.Figure()
Out[3]: Figure()

In [4]: f = jl.scatter(jl.rand(2,5))

In [5]: jl.display(f)
Out[5]: GLMakie.Screen(...)

A new Makie window shows up. But nothing in it. And after a while

image

Any idea how to make it work?

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