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)):
|
||||
mask = np.isfinite(d)
|
||||
d = d[mask]
|
||||
try:
|
||||
b = (d.min(), d.max())
|
||||
except ValueError:
|
||||
# d has no size, because all of d is inf.
|
||||
b = (-1, 1) # Some default bounds
|
||||
b = (d.min(), d.max())
|
||||
|
||||
elif frac <= 0.0:
|
||||
raise Exception("Value for parameter 'frac' must be > 0. (got %s)" % str(frac))
|
||||
|
Loading…
Reference in New Issue
Block a user