Uncomment the following line to install leafmap if needed.
# !pip install leafmap
import leafmap.plotlymap as leafmap
Note: For best experience, please use Jupyter notebook. The toolbar GUI is not working very well with JupyterLab at the moment.
m = leafmap.Map()
m.add_basemap("Esri.WorldTopoMap")
m.add_heatmap_demo()
m.add_scatter_plot_demo()
m.show()