Merge pull request #1940 from pijyoi/fix_logmode
fix log mode by reverting to previous formulation
This commit is contained in:
commit
1ddbfc8321
@ -701,7 +701,7 @@ class PlotDataItem(GraphicsObject):
|
||||
eps = np.finfo(y.dtype).eps
|
||||
else:
|
||||
eps = 1
|
||||
y = np.copysign(np.log10(np.abs(y)+eps), y)
|
||||
y = np.sign(y) * np.log10(np.abs(y)+eps)
|
||||
|
||||
ds = self.opts['downsample']
|
||||
if not isinstance(ds, int):
|
||||
|
Loading…
Reference in New Issue
Block a user