catch angle histogram bug fix
This commit is contained in:
@@ -2153,8 +2153,12 @@ def interactive_histoall(theworkouts,histoparam,includereststrokes,
|
|||||||
|
|
||||||
# throw out nans
|
# throw out nans
|
||||||
histopwr = histopwr[~np.isinf(histopwr)]
|
histopwr = histopwr[~np.isinf(histopwr)]
|
||||||
histopwr = histopwr[histopwr > yaxminima[histoparam]]
|
if histoparam == 'catch':
|
||||||
histopwr = histopwr[histopwr < yaxmaxima[histoparam]]
|
histopwr = histopwr[histopwr < yaxminima[histoparam]]
|
||||||
|
histopwr = histopwr[histopwr > yaxmaxima[histoparam]]
|
||||||
|
else:
|
||||||
|
histopwr = histopwr[histopwr > yaxminima[histoparam]]
|
||||||
|
histopwr = histopwr[histopwr < yaxmaxima[histoparam]]
|
||||||
|
|
||||||
plot = Figure(tools=TOOLS,plot_width=900,
|
plot = Figure(tools=TOOLS,plot_width=900,
|
||||||
toolbar_sticky=False,
|
toolbar_sticky=False,
|
||||||
|
|||||||
Reference in New Issue
Block a user