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

make FigureWidget resizing responsive #4027

Open
Alexboiboi opened this issue Jan 19, 2023 · 0 comments
Open

make FigureWidget resizing responsive #4027

Alexboiboi opened this issue Jan 19, 2023 · 0 comments
Labels
feature something new P3 backlog

Comments

@Alexboiboi
Copy link

Alexboiboi commented Jan 19, 2023

Hi there,

As suggested by @nicolaskruchten I am open this issue to address FigureWidget specific resizing challenges.

As of the latest 5.12 release the resizing of a plotly FigureWidget is resolved:

import plotly.graph_objects as go

fig = go.FigureWidget()
fig

But the issue remains when the widget is in another widget container.

import plotly.graph_objects as go
import ipywidgets as ipw

fig = go.FigureWidget()
ipw.VBox([fig])

Also it would really help to make responsive webapps with the ipywidgets ecosystem if the FigureWidget would also resize vertically to the available space inside its container.

No one on the Plotly team is really actively working on the Widget side of things so PRs are very welcome :)
I would gladly contribute but my knowledge in javascript is quasi non-existent^^, so I hope some of you are able to help out here.

Best regards, Alex-

@AaronStiff AaronStiff added the feature something new label Feb 11, 2023
@gvwilson gvwilson self-assigned this Jul 5, 2024
@gvwilson gvwilson removed their assignment Aug 2, 2024
@gvwilson gvwilson added the P3 backlog label Aug 12, 2024
@gvwilson gvwilson changed the title FigureWidget responsive resizing make FigureWidget resizing responsive Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new P3 backlog
Projects
None yet
Development

No branches or pull requests

3 participants