Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
cshanahan1 committed Apr 3, 2024
1 parent 24dab2e commit ba7f7df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jdaviz/configs/default/plugins/plot_options/plot_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,8 +1023,7 @@ def _update_stretch_histogram(self, msg={}):
# to avoid random step sizes. This logic is somewhat arbitrary and can be safely
# modified or eventually exposed to the user if that would be useful.
stretch_vstep = (hist_lims[1] - hist_lims[0]) / 100.
#self.stretch_vstep = _round_step(stretch_vstep)[0]
self.stretch_vstep = np.round(stretch_vstep, decimals=6)
self.stretch_vstep = _round_step(stretch_vstep)[0]

with delay_callback(self.stretch_histogram.viewer.state, 'hist_x_min', 'hist_x_max'):
self.stretch_histogram.viewer.state.hist_x_min = hist_lims[0]
Expand Down

0 comments on commit ba7f7df

Please sign in to comment.