MapPlot

class orion_notebook.widgets.plots.map_plot.MapPlot(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 map plot

build()

Generates a map 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 map plot, settings the outputs on user interaction