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 provides all the interaction buttons # children provides the interactive mapbox display using open street map mainwidget.children.observe(mw_zoom, names="zoom") # Nothing great happens when I zoom or pan inside the mapbox window