Skip to content

Commit

Permalink
mean not median
Browse files Browse the repository at this point in the history
  • Loading branch information
revoltek committed May 18, 2017
1 parent b8ad563 commit fa11f68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions losoto/operations/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def plot(Nplots, NColFig, figSize, cmesh, axesInPlot, axisInTable, xvals, yvals,
if cmesh:
# setting min max
if minZ == None and maxZ == None:
autominZ = np.median(vals) - 3*np.std(vals)
automaxZ = np.median(vals) + 3*np.std(vals)
autominZ = np.mean(vals) - 3*np.std(vals)
automaxZ = np.mean(vals) + 3*np.std(vals)
else:
autominZ = minZ
automaxZ = maxZ
Expand Down

0 comments on commit fa11f68

Please sign in to comment.