-
Notifications
You must be signed in to change notification settings - Fork 1.7k
[tensor-widget] Add colormap selection and Ctrl/Alt/Shift+wheel zooming #2764
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
Conversation
|
In the rest of TensorBoard we use Alt+Wheel for zooming to avoid |
|
@wchargin Thanks for the info. I added an optional field to TensorWidgetOptions: wheelZoomKey to allow specifying whether alt, ctrl or shift key activates wheel zooming. |
|
The native github review tool is very bad. Let's re-open the suggestion to use reviewable. |
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.
LGTM
|
|
||
| /** | ||
| * Minimum value that the color map can map to without clipping. | ||
| * Must be a finite value and be >= `min`. |
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.
What happens in the case of equality?
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.
Then all finite values will mapped to a relative value of 0.5 and in turn be mapped to the mid-point of the colormap. Added comment here.
|
I won’t have bandwidth to get to this shortly. Let me know if you need |
|
cc @mndevec |
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.
approved
Motivation for features / changes
Technical description of changes
Screenshots of UI changes