Closed
Description
PR #2527 added editType: 'axrange' which improves cartesian axis range relayout performance. But we could do even better if made 'axrange' call Axes.doTicks only on the required axes instead of clearing them and starting from scratch. Improvements would be most noticeable in multi-subplot layouts. The relayout logic already tracks altered axes, so in theory, we could pass that info to 'axrange' update sequence.
Related: #298
Metadata
Metadata
Assignees
Labels
No labels
Activity
resolves #2547 - target altered axes only on "axrange" edits
etpinard commentedon May 14, 2018
Pasting the note from #2628 (comment):
N.B. @alexcjohnson I didn't implement per-axis "axrange" edit for
Plotly.react. My main concern was improvement perf on dragend axis range relayout calls. I didn't think adding an exception to the react diffing algo was worth it for this case.in case we want to improve
Plotly.reactspeed down the road.