crash when attempting to change the percentage under the Y axis menu
ndscope H1:PEM-EX_WIND_ROOF_WEATHER_MPH H1:PEM-MX_WIND_ROOF_WEATHER_MPH H1:PEM-EY_WIND_ROOF_WEATHER_MPH --single -t 1307122964 -t 1307123274
Open the plot context menu, select Y axis, and attempt to change the value of the field that has 100% in it.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py", line 298, in prepareForPaint
self.updateAutoRange()
File "/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py", line 886, in updateAutoRange
childRange = self.childrenBounds(frac=fractionVisible)
File "/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/ViewBox/ViewBox.py", line 1388, in childrenBounds
yr = item.dataBounds(1, frac=frac[1], orthoRange=orthoRange[1])
File "/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/PlotDataItem.py", line 620, in dataBounds
range = self.curve.dataBounds(ax, frac, orthoRange)
File "/usr/lib/python3/dist-packages/pyqtgraph/graphicsItems/PlotCurveItem.py", line 143, in dataBounds
b = np.percentile(d, [50 * (1 - frac), 50 * (1 + frac)])
File "/usr/lib/python3/dist-packages/numpy/lib/function_base.py", line 3707, in percentile
a, q, axis, out, overwrite_input, interpolation, keepdims)
File "/usr/lib/python3/dist-packages/numpy/lib/function_base.py", line 3826, in _quantile_unchecked
interpolation=interpolation)
File "/usr/lib/python3/dist-packages/numpy/lib/function_base.py", line 3405, in _ureduce
r = func(a, **kwargs)
File "/usr/lib/python3/dist-packages/numpy/lib/function_base.py", line 3941, in _quantile_ureduce_func
x1 = take(ap, indices_below, axis=axis) * weights_below
File "/usr/lib/python3/dist-packages/numpy/core/fromnumeric.py", line 189, in take
return _wrapfunc(a, 'take', indices, axis=axis, out=out, mode=mode)
File "/usr/lib/python3/dist-packages/numpy/core/fromnumeric.py", line 56, in _wrapfunc
return getattr(obj, method)(*args, **kwds)
IndexError: cannot do a non-empty take from an empty axes.
Aborted