class ViewGrid(PlotlyViewPlot): (source)
Constructor: ViewGrid(plots, shape, hgap, vgap, ...)
A grid of PlotlyViewPlot
instances.
Parameters | |
plots | a PlotlyViewPlot or iterable of PlotlyViewPlot
instances |
shape | the (rows, cols) shape to use for the grid |
hgap | a horizontal spacing between the subplots, in [0, 1] |
vgap | a vertical spacing between the subplots, in [0, 1] |
init | an optional initial
fiftyone.core.collections.SampleCollection to load |
**kwargs | optional parameters for
plotly:plotly.graph_objects.Figure.update_layout |
Method | __init__ |
Undocumented |
Instance Variable | hgap |
Undocumented |
Instance Variable | layout |
Undocumented |
Instance Variable | plots |
Undocumented |
Instance Variable | shape |
Undocumented |
Instance Variable | vgap |
Undocumented |
Method | _get |
Gets the fiftyone.core.aggregations.Aggregation instances that can compute the necessary data to serve this plot. |
Method | _get |
Undocumented |
Method | _init |
Undocumented |
Method | _make |
Undocumented |
Method | _reopen |
Undocumented |
Instance Variable | _agg |
Undocumented |
Instance Variable | _aggregations |
Undocumented |
Instance Variable | _traces |
Undocumented |
Instance Variable | _widget |
Undocumented |
Inherited from PlotlyViewPlot
:
Method | show |
Shows this plot. |
Method | _update |
Undocumented |
Inherited from PlotlyWidgetMixin
(via PlotlyViewPlot
):
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 ViewPlot
(via PlotlyViewPlot
, 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. |
Inherited from ResponsivePlot
(via PlotlyViewPlot
, 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 |
Instance Variable | _connected |
Undocumented |
Instance Variable | _disconnected |
Undocumented |
Instance Variable | _frozen |
Undocumented |
Instance Variable | _link |
Undocumented |
Inherited from Plot
(via PlotlyViewPlot
, PlotlyWidgetMixin
, ViewPlot
, ResponsivePlot
):
Method | _repr |
Undocumented |
Gets the fiftyone.core.aggregations.Aggregation
instances
that can compute the necessary data to serve this plot.
Subclasses are not required to implement this method if they do not leverage aggregations.
Returns | |
a list fiftyone.core.aggregations.Aggregation instances,
or None |