-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Add surfacecolor functionality to surface traces
#347
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
93f1781
Merge remote-tracking branch 'upstream/master'
mikolalysenko 00109fd
Add surface intensity parameter
mikolalysenko 52ab89c
rename zmin,zmax,zauto,intensity to cmin,cmax,cauto,surfacecolor
mikolalysenko 4c4db95
upgrade gl-surface3d
mikolalysenko cf23c09
fix linter errors
mikolalysenko 7f1371e
add baseline image for surface intensity test
mikolalysenko d7a3fe1
Merge remote-tracking branch 'upstream/master'
mikolalysenko e8b944d
Merge branch 'master' into surface-intensity
mikolalysenko 70b31cc
fix issue with color levels being computed incorrectly
mikolalysenko 78600b9
add test images
mikolalysenko 608a706
fix path to image in gl3d test dashboard
etpinard 3c26428
create choropleth-only calc step (can no longer re-use surface's)
etpinard b6d2a15
mv zmin/zmax/zauto backward compat mappings in surface defaults:
etpinard 9d03cbf
bring back old 'zmin'/'zmax' mock
etpinard 04a7f47
add 'cmin' and 'cmax' to surface intensity mock
etpinard 579dcb2
pass cmin and cmax to gl-surface3d:
etpinard 76a627e
move png baselines to baselines/
etpinard 861197b
bring old baselines
etpinard 63ea534
lint
etpinard 863a6f5
bump gl-surface3d requirement
etpinard b07c429
update baselines
etpinard bf2658a
add surface defaults tests
etpinard 15354d2
improve surface attribute descriptions
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
Add surface intensity parameter
- Loading branch information
commit 00109fd2ecfb7178269750aa6d11588791ac8b3a
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,254 @@ | ||
| { | ||
| "data": [ | ||
| { | ||
| "z": [ | ||
| [ | ||
| 1, | ||
| 1, | ||
| 1, | ||
| 1, | ||
| 1, | ||
| 1, | ||
| 1, | ||
| 1, | ||
| 1, | ||
| 1 | ||
| ], | ||
| [ | ||
| 0.955336489125606, | ||
| 0.955336489125606, | ||
| 0.955336489125606, | ||
| 0.955336489125606, | ||
| 0.955336489125606, | ||
| 0.955336489125606, | ||
| 0.955336489125606, | ||
| 0.955336489125606, | ||
| 0.955336489125606, | ||
| 0.955336489125606 | ||
| ], | ||
| [ | ||
| 0.8253356149096783, | ||
| 0.8253356149096783, | ||
| 0.8253356149096783, | ||
| 0.8253356149096783, | ||
| 0.8253356149096783, | ||
| 0.8253356149096783, | ||
| 0.8253356149096783, | ||
| 0.8253356149096783, | ||
| 0.8253356149096783, | ||
| 0.8253356149096783 | ||
| ], | ||
| [ | ||
| 0.6216099682706645, | ||
| 0.6216099682706645, | ||
| 0.6216099682706645, | ||
| 0.6216099682706645, | ||
| 0.6216099682706645, | ||
| 0.6216099682706645, | ||
| 0.6216099682706645, | ||
| 0.6216099682706645, | ||
| 0.6216099682706645, | ||
| 0.6216099682706645 | ||
| ], | ||
| [ | ||
| 0.3623577544766736, | ||
| 0.3623577544766736, | ||
| 0.3623577544766736, | ||
| 0.3623577544766736, | ||
| 0.3623577544766736, | ||
| 0.3623577544766736, | ||
| 0.3623577544766736, | ||
| 0.3623577544766736, | ||
| 0.3623577544766736, | ||
| 0.3623577544766736 | ||
| ], | ||
| [ | ||
| 0.0707372016677029, | ||
| 0.0707372016677029, | ||
| 0.0707372016677029, | ||
| 0.0707372016677029, | ||
| 0.0707372016677029, | ||
| 0.0707372016677029, | ||
| 0.0707372016677029, | ||
| 0.0707372016677029, | ||
| 0.0707372016677029, | ||
| 0.0707372016677029 | ||
| ], | ||
| [ | ||
| -0.2272020946930869, | ||
| -0.2272020946930869, | ||
| -0.2272020946930869, | ||
| -0.2272020946930869, | ||
| -0.2272020946930869, | ||
| -0.2272020946930869, | ||
| -0.2272020946930869, | ||
| -0.2272020946930869, | ||
| -0.2272020946930869, | ||
| -0.2272020946930869 | ||
| ], | ||
| [ | ||
| -0.5048461045998576, | ||
| -0.5048461045998576, | ||
| -0.5048461045998576, | ||
| -0.5048461045998576, | ||
| -0.5048461045998576, | ||
| -0.5048461045998576, | ||
| -0.5048461045998576, | ||
| -0.5048461045998576, | ||
| -0.5048461045998576, | ||
| -0.5048461045998576 | ||
| ], | ||
| [ | ||
| -0.7373937155412454, | ||
| -0.7373937155412454, | ||
| -0.7373937155412454, | ||
| -0.7373937155412454, | ||
| -0.7373937155412454, | ||
| -0.7373937155412454, | ||
| -0.7373937155412454, | ||
| -0.7373937155412454, | ||
| -0.7373937155412454, | ||
| -0.7373937155412454 | ||
| ], | ||
| [ | ||
| -0.904072142017061, | ||
| -0.904072142017061, | ||
| -0.904072142017061, | ||
| -0.904072142017061, | ||
| -0.904072142017061, | ||
| -0.904072142017061, | ||
| -0.904072142017061, | ||
| -0.904072142017061, | ||
| -0.904072142017061, | ||
| -0.904072142017061 | ||
| ] | ||
| ], | ||
| "intensity": [ | ||
| [ | ||
| 10, | ||
| 9, | ||
| 8, | ||
| 7, | ||
| 6, | ||
| 5, | ||
| 6, | ||
| 7, | ||
| 8, | ||
| 9 | ||
| ], | ||
| [ | ||
| 9, | ||
| 8, | ||
| 7, | ||
| 6, | ||
| 5, | ||
| 4, | ||
| 5, | ||
| 6, | ||
| 7, | ||
| 8 | ||
| ], | ||
| [ | ||
| 8, | ||
| 7, | ||
| 6, | ||
| 5, | ||
| 4, | ||
| 3, | ||
| 4, | ||
| 5, | ||
| 6, | ||
| 7 | ||
| ], | ||
| [ | ||
| 7, | ||
| 6, | ||
| 5, | ||
| 4, | ||
| 3, | ||
| 2, | ||
| 3, | ||
| 4, | ||
| 5, | ||
| 6 | ||
| ], | ||
| [ | ||
| 6, | ||
| 5, | ||
| 4, | ||
| 3, | ||
| 2, | ||
| 1, | ||
| 2, | ||
| 3, | ||
| 4, | ||
| 5 | ||
| ], | ||
| [ | ||
| 5, | ||
| 4, | ||
| 3, | ||
| 2, | ||
| 1, | ||
| 0, | ||
| 1, | ||
| 2, | ||
| 3, | ||
| 4 | ||
| ], | ||
| [ | ||
| 6, | ||
| 5, | ||
| 4, | ||
| 3, | ||
| 2, | ||
| 1, | ||
| 2, | ||
| 3, | ||
| 4, | ||
| 5 | ||
| ], | ||
| [ | ||
| 7, | ||
| 6, | ||
| 5, | ||
| 4, | ||
| 3, | ||
| 2, | ||
| 3, | ||
| 4, | ||
| 5, | ||
| 6 | ||
| ], | ||
| [ | ||
| 8, | ||
| 7, | ||
| 6, | ||
| 5, | ||
| 4, | ||
| 3, | ||
| 4, | ||
| 5, | ||
| 6, | ||
| 7 | ||
| ], | ||
| [ | ||
| 9, | ||
| 8, | ||
| 7, | ||
| 6, | ||
| 5, | ||
| 4, | ||
| 5, | ||
| 6, | ||
| 7, | ||
| 8 | ||
| ] | ||
| ], | ||
| "type": "surface" | ||
| } | ||
| ], | ||
| "layout": { | ||
| "title": "Surface intensity test" | ||
| } | ||
| } |
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.
Can we have a more descriptive description? I'm still a little unclear on how this is used.