Skip to content

Commit

Permalink
point_cloud limits update 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Slautin committed Dec 13, 2024
1 parent eb44a65 commit a301dbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sidpy/viz/dataset_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,7 @@ def _onclick(self, event):

_sp_min, _sp_max = np.min(self.spectrum.compute()), np.max(self.spectrum.compute())
if self.variance is not None:
_sp_min, _sp_max = _sp_min - np.max(self.variance), _sp_max + np.max(self.variance)
_sp_min, _sp_max = _sp_min - np.max(self.variance.compute()), _sp_max + np.max(self.variance.compute())
_sp_d = _sp_max - _sp_min
self.axes[1].set_ylim(_sp_min-0.2*_sp_d, _sp_max+0.2*_sp_d)
self.sel_point.set_offsets(np.column_stack((self.px_coord[_point_number, 0],
Expand Down

0 comments on commit a301dbb

Please sign in to comment.