Skip to content

Per axis axrange edit type #2547

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
etpinard opened this issue Apr 11, 2018 · 1 comment
Closed

Per axis axrange edit type #2547

etpinard opened this issue Apr 11, 2018 · 1 comment

Comments

@etpinard
Copy link
Contributor

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

@etpinard
Copy link
Contributor Author

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.react speed down the road.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant