class documentation
Class that manages communication between a
fiftyone.core.session.Session
and one or more
fiftyone.core.plots.base.ResponsivePlot
instances.
Each plot can be linked to either the view, samples, frames, or labels of a session:
- View links: When a plot has link_type == "view", then, when the session's view changes, the plot is updated based on the content of the view
- Sample links: When points are selected in a plot with link_type == "samples", a view containing the corresponding samples is loaded in the App. Conversely, when the session's view changes, the corresponding points are selected in the plot
- Frame links: When points are selected in a plot with link_type == "frames", a view containing the corresponding frames is loaded in the App. Conversely, when the session's view changes, the corresponding points are selected in the plot
- Label links: When points are selected in a plot with link_type == "labels", a view containing the corresponding labels is loaded in the App. Conversely, when the session's view changes, the points in the plot corresponding to all labels in the view are selected in the plot
Parameters | |
session | a fiftyone.core.session.Session |
Method | __bool__ |
Undocumented |
Method | __contains__ |
Undocumented |
Method | __delitem__ |
Undocumented |
Method | __getitem__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | __iter__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __setitem__ |
Undocumented |
Method | __str__ |
Undocumented |
Method | attach |
Attaches a plot to this manager. |
Method | clear |
Removes all plots from this manager. |
Method | connect |
Connects this manager to its session and all plots. |
Method | disconnect |
Disconnects this manager from its session and all plots. |
Method | freeze |
Freezes all connected plots, replacing them with static images. |
Method | items |
Returns an iterator over the (name, plot) pairs in this manager. |
Method | keys |
Returns an iterator over the names of plots in this manager. |
Method | pop |
Removes the plot from this manager and returns it. |
Method | remove |
Removes the plot from this manager. |
Method | summary |
Returns a string summary of this manager. |
Method | sync |
Syncs all connected plots with the session's current view. |
Method | values |
Returns an iterator over the plots in this manager. |
Property | has |
Whether this manager has plots linked to frames. |
Property | has |
Whether this manager has plots linked to labels. |
Property | has |
Whether this manager has plots linked to samples. |
Property | has |
Whether this manager has plots linked to views. |
Property | is |
Whether this manager is currently connected to its plots. |
Property | is |
Whether this manager is currently disconnected from its plots. |
Method | _connect |
Undocumented |
Method | _disconnect |
Undocumented |
Method | _get |
Undocumented |
Method | _needs |
Undocumented |
Method | _on |
Undocumented |
Method | _on |
Undocumented |
Method | _ready |
Undocumented |
Method | _set |
Undocumented |
Method | _summarize |
Undocumented |
Method | _update |
Undocumented |
Method | _update |
Undocumented |
Method | _update |
Undocumented |
Method | _update |
Undocumented |
Method | _update |
Undocumented |
Method | _update |
Undocumented |
Method | _update |
Undocumented |
Constant | _MIN |
Undocumented |
Instance Variable | _aggs |
Undocumented |
Instance Variable | _connected |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | _current |
Undocumented |
Instance Variable | _disconnected |
Undocumented |
Instance Variable | _last |
Undocumented |
Instance Variable | _last |
Undocumented |
Instance Variable | _last |
Undocumented |
Instance Variable | _plots |
Undocumented |
Instance Variable | _session |
Undocumented |
Attaches a plot to this manager.
Parameters | |
plot | a fiftyone.core.plots.base.ResponsivePlot |
name:None | an optional name for the plot |
connect:True | whether to immediately connect the plot |
overwrite:True | whether to overwrite an existing plot of the same name |
Freezes all connected plots, replacing them with static images.
Only applicable in notebook contexts.
Returns an iterator over the (name, plot) pairs in this manager.
Returns | |
an iterator that emits (name, ResponsivePlot) tuples |
Removes the plot from this manager and returns it.
Parameters | |
name | the name of a plot |
Returns | |
the fiftyone.core.plots.base.ResponsivePlot |
Returns an iterator over the plots in this manager.
Returns | |
an iterator that emits
fiftyone.core.plots.base.ResponsivePlot instances |