Skip to content

Commit 5d65b97

Browse files
committed
Always filter errors on axis with log scale
1 parent 06e97fb commit 5d65b97

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/silx/gui/plot/items/core.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,11 +1555,11 @@ def _filterData(self, xPositive, yPositive):
15551555
y = numpy.array(y, copy=True, dtype=numpy.float64)
15561556
y[clipped] = numpy.nan
15571557

1558-
if xPositive and xerror is not None:
1559-
xerror = self._logFilterError(x, xerror)
1558+
if xPositive and xerror is not None:
1559+
xerror = self._logFilterError(x, xerror)
15601560

1561-
if yPositive and yerror is not None:
1562-
yerror = self._logFilterError(y, yerror)
1561+
if yPositive and yerror is not None:
1562+
yerror = self._logFilterError(y, yerror)
15631563

15641564
return x, y, xerror, yerror
15651565

0 commit comments

Comments
 (0)