8000 Use new defaults more often in examples by QuLogic · Pull Request #5997 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Use new defaults more often in examples #5997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 22, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: Set stacked bar example to different colours.
Otherwise, without the edge lines, it's just a couple of error bars in
the middle of the longer bar.
  • Loading branch information
QuLogic committed Feb 17, 2016
commit 2142b75fdf4425fea2f32f6426b47ad9d3380dc3
2 changes: 1 addition & 1 deletion examples/pylab_examples/bar_stacked.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
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, yerr=menStd)
p1 = plt.bar(ind, menMeans, width, color='#d62728', yerr=menStd)
p2 = plt.bar(ind, womenMeans, width,
bottom=menMeans, yerr=womenStd)

Expand Down
0