temporarily removed min max fix for pull request
This commit is contained in:
parent
e7ba0ca272
commit
baba93dc60
@ -132,11 +132,7 @@ class PlotCurveItem(GraphicsObject):
|
|||||||
if any(np.isinf(b)):
|
if any(np.isinf(b)):
|
||||||
mask = np.isfinite(d)
|
mask = np.isfinite(d)
|
||||||
d = d[mask]
|
d = d[mask]
|
||||||
try:
|
|
||||||
b = (d.min(), d.max())
|
b = (d.min(), d.max())
|
||||||
except ValueError:
|
|
||||||
# d has no size, because all of d is inf.
|
|
||||||
b = (-1, 1) # Some default bounds
|
|
||||||
|
|
||||||
elif frac <= 0.0:
|
elif frac <= 0.0:
|
||||||
raise Exception("Value for parameter 'frac' must be > 0. (got %s)" % str(frac))
|
raise Exception("Value for parameter 'frac' must be > 0. (got %s)" % str(frac))
|
||||||
|
Loading…
Reference in New Issue
Block a user