Skip to content
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

Use Axes.prepTicks not Axes.calcTicks for indicator number and delta #4099

Merged
merged 1 commit into from
Aug 1, 2019

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented Aug 1, 2019

cc @plotly/plotly_js - I totally forgot about Axes.prepTicks which does all the things required to then call Axes.tickText w/o having to compute tick-value arrays like in Axes.calcTicks.

Axes.prepTicks is currently used in the contour and carpet code (that I've been staring at for ~1 week) and should lead to an enjoyable performance boost.

... to fill in '_' fields needed for Axes.tickText
@archmoj
Copy link
Contributor

archmoj commented Aug 1, 2019

@etpinard Thanks for the info and fix.
💃

@etpinard etpinard merged commit 265bcaa into master Aug 1, 2019
@etpinard etpinard deleted the indicator-prepTicks-not-calcTicks branch August 1, 2019 20:06
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

Successfully merging this pull request may close these issues.

None yet

2 participants