Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
asbisen opened this issue Oct 15, 2024 · 0 comments
Open

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

asbisen opened this issue Oct 15, 2024 · 0 comments

Comments

@asbisen
Copy link

asbisen commented Oct 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant