class documentation
class PlotlyViewPlot(PlotlyWidgetMixin, ViewPlot): (source)
Known subclasses: fiftyone.core.plots.views.CategoricalHistogram
, fiftyone.core.plots.views.NumericalHistogram
, fiftyone.core.plots.views.ViewGrid
Constructor: PlotlyViewPlot(widget, init_view)
Base class for ViewPlot
instances with Plotly backends.
Parameters | |
widget | a plotly:plotly.graph_objects.FigureWidget |
init | an optional initial
fiftyone.core.collections.SampleCollection to load |
Method | __init__ |
Undocumented |
Method | show |
Shows this plot. |
Instance Variable | init |
Undocumented |
Method | _get |
Undocumented |
Method | _update |
Undocumented |
Instance Variable | _traces |
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 |
Instance Variable | _widget |
Undocumented |
Inherited from ViewPlot
(via PlotlyWidgetMixin
):
Method | reset |
Resets the plot to its default state. |
Method | update |
Updates the plot based on the provided view. |
Property | supports |
Whether this plot supports automatic updates in response to session changes. |
Method | _get |
Gets the fiftyone.core.aggregations.Aggregation instances that can compute the necessary data to serve this plot. |
Inherited from ResponsivePlot
(via PlotlyWidgetMixin
, ViewPlot
):
Method | connect |
Connects this plot, if necessary. |
Method | disconnect |
Disconnects the plot, if necessary. |
Method | freeze |
Freezes the plot, replacing it with a static image. |
Property | is |
Whether this plot is currently connected. |
Property | is |
Whether this plot is currently disconnected. |
Property | is |
Whether this plot is currently frozen. |
Property | link |
The link type between this plot and a connected session. |
Method | _connect |
Undocumented |
Method | _disconnect |
Undocumented |
Method | _reopen |
Undocumented |
Instance Variable | _connected |
Undocumented |
Instance Variable | _disconnected |
Undocumented |
Instance Variable | _frozen |
Undocumented |
Instance Variable | _link |
Undocumented |
Inherited from Plot
(via PlotlyWidgetMixin
, ViewPlot
, ResponsivePlot
):
Method | _repr |
Undocumented |
Shows this plot.
Parameters | |
**kwargs | optional parameters for
plotly:plotly.graph_objects.Figure.update_layout |
overridden in
fiftyone.core.plots.views.CategoricalHistogram
, fiftyone.core.plots.views.NumericalHistogram
, fiftyone.core.plots.views.ViewGrid
Undocumented
overridden in
fiftyone.core.plots.views.CategoricalHistogram
, fiftyone.core.plots.views.NumericalHistogram
, fiftyone.core.plots.views.ViewGrid
Undocumented