SankeyPlot¶
-
class
orion_notebook.widgets.plots.sankey_plot.
SankeyPlot
(widget: Optional[orion_notebook.widgets.widget_base.CompiledWidget] = None, input_data: Optional[pandas.core.frame.DataFrame] = None, direction: bool = True, mode: str = 'markers', plot_title: Optional[str] = None, aggregate: bool = False, height: int = 450, width: Optional[int] = None, **kwargs)¶ Bases:
orion_notebook.widgets.plots.base_plot.BasePlot
Class that represents a sankey plot
-
build
()¶ Generates a sankey plot with the data provided
-
on_interaction
(trace: plotly.graph_objects.Scatter, points: plotly.callbacks.Points, selector: plotly.callbacks.InputDeviceState)¶ Defines the default behaviour when interacting with the sankey plot, settings the outputs on user interaction
-