So in the current matplotlib there is a pan button and zoom button and the plot show all data initially and scales it to fit in the visible window. To see the details, I have to zoom in and then pan.
What I want to do is to show the data in a detailed view as default and then I can pan it as needed.
I want this (by default):
Then I can pan it as needed.
I don't want to truncate the data because I need all data but just view them in parts. Any easier way out of this without manipulating the data as I pan it?


With Matplotlib you could use a Span Selector like in this example, to show your entire data on the top subplot, while showing the "zoomed" part of the data on the bottom subplot:
In this way you can select the desired range on the top subplot:
But Plotly allows you to do something similar much easier, like in these examples:
In this case, you can see your entire data and select some part of it on the bottom subplot (called rangeslider), while seeing the selected part on the top subplot: