# Updating xaxis boundaries through callback

**URL:** <https://community.plotly.com/t/updating-xaxis-boundaries-through-callback/23544>\
**Category:** Dash Python\
**Created:** [May 16, 2019, 4:26pm UTC](https://community.plotly.com/t/updating-xaxis-boundaries-through-callback/23544 "2019-05-16T16:26:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![akhlaur](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@akhlaur](https://community.plotly.com/u/akhlaur)\
**Post date:** [May 16, 2019, 4:26pm UTC](https://community.plotly.com/t/updating-xaxis-boundaries-through-callback/23544/1 "2019-05-16T16:26:54Z")

</div>

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.
