It would be nice to downsample in cases where an interactive window is resized. The issue is that there is no such thing as a 'start resize' and 'end resize' events in matplotlib, so instead we may have to have some kind of timer that gets started on resize events and gets reset at every resize event, and if the timer gets to the pre-defined time (e.g. 0.5 seconds) without another resize event, then the data is upsampled again.
It would be nice to downsample in cases where an interactive window is resized. The issue is that there is no such thing as a 'start resize' and 'end resize' events in matplotlib, so instead we may have to have some kind of timer that gets started on resize events and gets reset at every resize event, and if the timer gets to the pre-defined time (e.g. 0.5 seconds) without another resize event, then the data is upsampled again.