Fix colormap low/high updates
This commit is contained in:
parent
5f37e9a57c
commit
0b340d0bb9
@ -383,6 +383,8 @@ def create():
|
||||
proj_x_image_glyph.color_mapper.high = new_value
|
||||
proj_y_image_glyph.color_mapper.high = new_value
|
||||
|
||||
_update_proj_plots()
|
||||
|
||||
proj_display_max_spinner = Spinner(
|
||||
low=0 + PROJ_STEP,
|
||||
value=1,
|
||||
@ -398,6 +400,8 @@ def create():
|
||||
proj_x_image_glyph.color_mapper.low = new_value
|
||||
proj_y_image_glyph.color_mapper.low = new_value
|
||||
|
||||
_update_proj_plots()
|
||||
|
||||
proj_display_min_spinner = Spinner(
|
||||
low=0,
|
||||
high=1 - PROJ_STEP,
|
||||
|
@ -681,6 +681,8 @@ def create():
|
||||
display_min_spinner.high = new_value - STEP
|
||||
image_glyph.color_mapper.high = new_value
|
||||
|
||||
_update_image()
|
||||
|
||||
display_max_spinner = Spinner(
|
||||
low=0 + STEP,
|
||||
value=1,
|
||||
@ -695,6 +697,8 @@ def create():
|
||||
display_max_spinner.low = new_value + STEP
|
||||
image_glyph.color_mapper.low = new_value
|
||||
|
||||
_update_image()
|
||||
|
||||
display_min_spinner = Spinner(
|
||||
low=0,
|
||||
high=1 - STEP,
|
||||
@ -728,6 +732,8 @@ def create():
|
||||
proj_x_image_glyph.color_mapper.high = new_value
|
||||
proj_y_image_glyph.color_mapper.high = new_value
|
||||
|
||||
_update_proj_plots()
|
||||
|
||||
proj_display_max_spinner = Spinner(
|
||||
low=0 + PROJ_STEP,
|
||||
value=1,
|
||||
@ -743,6 +749,8 @@ def create():
|
||||
proj_x_image_glyph.color_mapper.low = new_value
|
||||
proj_y_image_glyph.color_mapper.low = new_value
|
||||
|
||||
_update_proj_plots()
|
||||
|
||||
proj_display_min_spinner = Spinner(
|
||||
low=0,
|
||||
high=1 - PROJ_STEP,
|
||||
|
Loading…
x
Reference in New Issue
Block a user