Plot Manager#
- class shift.PlotManager(center: GeoLocation | None = None)#
Class for managing plotly plots.
- Parameters:
center (GeoLocation) – Centre of the map. Optional defaults to GeoLocation(0,0)
Examples
Creating an instance of the plot manager.
>>> plt_instance = PlotManager()
Adding plot the plot manager.
>>> plt_instance.add_plot([GeoLocation(0,0), GeoLocation(0.0001, 0.0001)], name="plot1")
Displaying the plot in the browser.
>>> plt.instance.show()
Constructor for managing plots with plotly.
Methods#
|
Constructor for managing plots with plotly. |
|
Method to add geometries. |
|
Method to show the plot. |