-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Per-trace axis extremes #2849
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
Closed
Per-trace axis extremes #2849
Changes from 3 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
67db333
add axis.range under visible edits test
etpinard 3e817f3
add findExtremes
etpinard 1cd8482
add _extremes to all traces in calc
etpinard e9d3ca0
adapt getAutoRange and doAutoRange to trace _extremes
etpinard 2966cf3
generalize concatExtremes for polar, splom and layout components
etpinard a9cf2e1
replace Axes.expand -> findExtremes in traces/
etpinard 13cb0f0
replace Axex.expand -> findExtremes in annotations and shapes
etpinard d24eaef
replace Axes.expand -> findExtremes for ErrorBars
etpinard d9bb617
:hocho: ax._min / ax._max logic for rangeslider
etpinard 9b02ac4
adapt enforceConstraints to new per trace/item _extremes
etpinard d407c90
adapt polar to new per trace/item _extremes
etpinard 9ab0c2f
:hocho: obsolete comments about ax._min / ax._max
etpinard 6e866c2
adapt gl2d to findExtremes
etpinard c45427b
:hocho: Axes.expand
etpinard e77cacc
adapt test for Axex.expand -> findExtremes change
etpinard ba3c903
adapt test to new getAutoRange API
etpinard 424f4a6
sub fail -> failTest
etpinard 4c250c3
setPositions even when recalc===false
etpinard 5becba0
udpdate jsdoc for Axes.getAutoRange
etpinard 66df51e
use ax.(_traceIndices, annIndices, shapeIndices)
etpinard d0699c0
fixups (from AJ's review)
etpinard f1cda60
add bar stack visible -> autorange test & move 'b' init to setPositions
etpinard 9a78013
make annotations & shapes 'visible' -> 'plot' edit type
etpinard 5cfee13
Revert "make annotations & shapes 'visible' -> 'plot' edit type"
etpinard 62f1549
add fallback for _extremes during concat
etpinard aac11a2
collapse trace extremes before getAutorange
etpinard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 isn't
PlotSchema.findArrayAttributes(trace)
self-documenting enough?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good call -> d0699c0