Skip to content

Commit

Permalink
Always filter errors on axis with log scale
Browse files Browse the repository at this point in the history
  • Loading branch information
t20100 committed Mar 13, 2024
1 parent 06e97fb commit 5d65b97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/silx/gui/plot/items/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1555,11 +1555,11 @@ def _filterData(self, xPositive, yPositive):
y = numpy.array(y, copy=True, dtype=numpy.float64)
y[clipped] = numpy.nan

if xPositive and xerror is not None:
xerror = self._logFilterError(x, xerror)
if xPositive and xerror is not None:
xerror = self._logFilterError(x, xerror)

if yPositive and yerror is not None:
yerror = self._logFilterError(y, yerror)
if yPositive and yerror is not None:
yerror = self._logFilterError(y, yerror)

return x, y, xerror, yerror

Expand Down

0 comments on commit 5d65b97

Please sign in to comment.