Updating xaxis boundaries through callback

On function callbacks, is there a way to send only the axis information without passing the data?

Let’s say I am plotting a large dataset, and I would like zoom in to a specific location at xaxis (from x1 to x2) through another plot’s clickevent and function callback.

Right now, I need to pass the entire data, slice and redraw the plot. I think also performance-wise would be great to be able to just pass new boundaries.

Please let me know if it is something I missed. If not available, I think it would be a good feature for the future. Thanks.

1 Like