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

Merging #2860 to master #2865

Merged
merged 22 commits into from
Aug 2, 2018
Merged

Merging #2860 to master #2865

merged 22 commits into from
Aug 2, 2018

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented Aug 2, 2018

Oops I forgot that #2860 was based off #2823.

This PR brings those commits in master.

- DRY using .plot & .cleear with getViewport helper fn
- Dry .plot and .update with repeat helper fn
- compute viewport only once per subplot, as opposed to
  once per trace.
- so that gl-based trace can call their plot methods w/ an
  empty array of traces and just work.
- update and improve scatterlg visibility tests to reflect
  that `restyle(gd,visible,false)` no longer clear the context
- to not have to guard against visible!==true traces in _module.style
- to shortcut full list of modules in other places downstream
- Bar.setPositions mutates 'b' in bar trace calcdata,
  so to reinit 'b' during setPositions so that it doesn't
  conflit with Bar.calc
- a Axes.expend clone that does not append things to ax._min/ax._max,
  but instead returns two arrays, a min array and max array
  of potential data extremes
- pass gd, to look for _extremes in gd._fullData and eventually
  in layout container to can expand the axis ranges
- replacing Axe.expand
- for ErrorBars, we append the min/max arrays
  of the corresponding trace
- questionable commit, especially the part in autorange.js,
  but this doesn't make any test fail ?!?
- N.B. polar is the only subplot apart from cartesian that
  used Axes.expand and friends.
- by using ax.(_traceIndices, annIndices, shapeIndices),
  to keep track of traces, annotations and shapes plotted on
  axis ax. Adapt concatExtremes accordingly!
... by factoring out logic from findExtremes
Recycled commits from abandoned fast trace toggle PRs
@etpinard etpinard merged commit 6a6d1dc into master Aug 2, 2018
@etpinard etpinard deleted the faster-axis-autorange branch August 2, 2018 16:13
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.

1 participant