Skip to content

Commit

Permalink
Merge pull request #4618 from eglassman/patch-1
Browse files Browse the repository at this point in the history
swap standard deviations so that men's means are shown with men's std…
  • Loading branch information
jenshnielsen committed Jul 10, 2015
2 parents 16c125e + 6abbee6 commit d86dcf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/pylab_examples/bar_stacked.py
Expand Up @@ -12,9 +12,9 @@
ind = np.arange(N) # the x locations for the groups
width = 0.35 # the width of the bars: can also be len(x) sequence

p1 = plt.bar(ind, menMeans, width, color='r', yerr=womenStd)
p1 = plt.bar(ind, menMeans, width, color='r', yerr=menStd)
p2 = plt.bar(ind, womenMeans, width, color='y',
bottom=menMeans, yerr=menStd)
bottom=menMeans, yerr=womenStd)

plt.ylabel('Scores')
plt.title('Scores by group and gender')
Expand Down

0 comments on commit d86dcf4

Please sign in to comment.