File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -814,8 +814,14 @@ def reset_vmin_vmax_frame(self):
814814 ImageGraphic instead of the data in the full data array. For example, if a post-processing
815815 function is used, the range of values in the ImageGraphic can be very different from the
816816 range of values in the full data array.
817+
818+ TODO: We could think of applying the frame_apply funcs to a subsample of the entire array to get a better estimate of vmin vmax?
817819 """
820+
818821 for subplot in self .gridplot :
822+ if "histogram_lut" not in subplot .docks ["right" ]:
823+ continue
824+
819825 hlut = subplot .docks ["right" ]["histogram_lut" ]
820826 # set the data using the current image graphic data
821827 hlut .set_data (subplot ["image_widget_managed" ].data ())
You can’t perform that action at this time.
0 commit comments