I have a figurewidget that includes a Scatter Mapbox object. When I zoom in and out, Iโd like to have a chance to make some adjustments to my markers. But I cannot find any sort of plotly_zoom documentation. Indeed, I have found many, many threads asking about doing something interactive based on zoom, but most donโt get answered. I hope this one does!
Iโd like to do something like this:
def mw_zoom(change):
# do something really great
# Mainwidget is a FigureWidget with two children;
# children[0] provides all the interaction buttons
# children[1] provides the interactive mapbox display using open street map
mainwidget.children[1].observe(mw_zoom, names="zoom")
# Nothing great happens when I zoom or pan inside the mapbox window