Skip to content

Fix FigureWidget.show to return FigureWidget instead of displaying Figure - #4869

Merged
marthacryan merged 2 commits into
masterfrom
widget-show
Nov 13, 2024
Merged

marthacryan merged 2 commits into
masterfrom
widget-show

Conversation

@marthacryan

Copy link
Copy Markdown
Contributor

Fixes #4854 by overriding the BaseFigure parent class implementation of show() that FigureWidget inherits (see issue for more context). This changes the behavior to be the same as between these two cases (assuming fig = go.FigureWidget()):

  • fig
  • fig.show()

@gvwilson gvwilson added P1 needed for current cycle fix fixes something broken labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix fixes something broken P1 needed for current cycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FigureWidget.show() returns a Figure instead of a FigureWidget

2 participants