Note
This is a community plugin, an external project maintained by its respective author. Community plugins are not part of FiftyOne core and may change independently. Please review each plugin’s documentation and license before use.
Plotly Map Panel#
An example map panel using PlotlyView.
This example demonstrates mapping functionality built on PlotlyView as an alternative to fiftyone’s built-in Map Panel that relies on Mapbox.
Installation#
fiftyone plugins download https://github.com/allenleetc/plotly-map-panel
Refer to the main README for more information about managing downloaded plugins and developing plugins locally.
Usage#
Install fiftyone and then run the following code to create a test dataset.
import fiftyone as fo
import fiftyone.zoo as foz
dataset = foz.load_zoo_dataset('https://github.com/allenleetc/world-airports',
dataset_name='world-airports',
persistent=True)
session = fo.launch_app(dataset,auto=False)
Press the
+
button next to the “Samples” tabSelect the
Plotly Map
panelSelect dataset fields in the pulldown menus and explore the dataset!
Todo#
Optionally disable dynamic colorscale adjustment based on view selection
Select geo scope based on data encountered
Use background layers
Experiment with polygon drawing
(Maybe) extend marker slider to larger markers