Skip to content

Conversation

etpinard
Copy link
Contributor

fixes #3031 and #3029 and cleans-up bar/cross_trace_calc.js a little bit.

Note that commits c14ad69 and b18669d should help if we ever decide to take another shot at making trace attribute visible an editType:'plot' (currently it is a calc, cc #2837, #2849)

cc @plotly/plotly_js - best to review this thing commit-by-commit.

- 🔪 2-line gaps
- consistently call items of `gd.calcdata` -> `calcTraces` in
  this file!
... and use that option to inherit `tozero`
    for errorbar findExtremes() call. Update to exiting mocks
    that were showing wrong behavior.
... this way we can 🔪 min/max logic in Bar.crossTraceCalc
    which is already done during Axes.getAutoRange.
@etpinard etpinard added bug something broken status: reviewable labels Jan 21, 2019
@etpinard
Copy link
Contributor Author

@archmoj / @antoinerg anyone of you want to take a shot at reviewing this?

It's the last PR I'd like included in 1.44.0, I promise 😏

Copy link
Contributor

@archmoj archmoj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks robust.
I unsuccessfully tried to break it.
Please find my comment below.

@archmoj
Copy link
Contributor

archmoj commented Jan 22, 2019

Well done.
💃

@etpinard
Copy link
Contributor Author

Thanks for the review @archmoj !!

@etpinard etpinard merged commit e4b1a7e into master Jan 22, 2019
@etpinard etpinard deleted the bar-errorbar-autorange-fixes branch January 22, 2019 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bars with base autorange bug
2 participants