temporarily removed min max fix for pull request

This commit is contained in:
Justin Engel 2017-08-08 15:51:32 -04:00 committed by GitHub
parent e7ba0ca272
commit baba93dc60

View File

@ -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))