Skip to content

Plots in jupyter-lab are displayed inside a scrolling window #48

@asbisen

Description

@asbisen

If by using layout height is increased the resulting plot is displayed inside a scrolling window. Here is the MWE

using PlotlyLight, DataFrames

n = 100
df = DataFrame(x=rand(n), y=rand(n))

layout = Config(height=800)
trace = Config(x=df.x, y=df.y, type="scatter", mode="markers")
Plot([trace], layout)

In python jupyter's output cell adapts to the size of the plot, resulting in a fully visible plot. Is this something that could be addressed from the package?

Jupyter Lab = 4.2.5
Julia = 1.11

Image

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