class documentation
class PlotlyNotebookPlot(PlotlyWidgetMixin, Plot): (source)
Constructor: PlotlyNotebookPlot(figure)
A wrapper around a Plotly plot for Jupyter notebook contexts that allows
it to be replaced with a screenshot by calling freeze
.
Parameters | |
figure | a plotly:plotly.graph_objects.Figure |
Method | __init__ |
Undocumented |
Method | freeze |
Freezes the plot, replacing it with a static image. |
Method | show |
Shows the plot. |
Method | update |
Updates the layout of the plot. |
Property | is |
Whether this plot is currently frozen. |
Method | _make |
Undocumented |
Method | _reopen |
Undocumented |
Instance Variable | _figure |
Undocumented |
Instance Variable | _frozen |
Undocumented |
Instance Variable | _widget |
Undocumented |
Inherited from PlotlyWidgetMixin
:
Method | save |
Saves the plot as an image or HTML. |
Method | _freeze |
Undocumented |
Method | _screenshot |
Undocumented |
Method | _show |
Undocumented |
Method | _update |
Undocumented |
Instance Variable | _handle |
Undocumented |
Inherited from Plot
(via PlotlyWidgetMixin
):
Method | _repr |
Undocumented |
overrides
fiftyone.core.plots.base.Plot.show
Shows the plot.
Parameters | |
**kwargs | optional parameters for
plotly:plotly.graph_objects.Figure.update_layout |
Updates the layout of the plot.
Parameters | |
**kwargs | valid arguments for
plotly:plotly.graph_objects.Figure.update_layout |