I need to display a graph with a huge number of points. Thus I downsample the original data such that depending on the zoom level, a resaonable number of points will get displayed. The relayoutData callback generates a new figure on every zoom event, but plotly always redraws the points available of the current figure in the new x/y range first, and only after that, the new figure will be displayed.