8000 WIP : major Axes refactor by tacaswell · Pull Request #3944 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

WIP : major Axes refactor #3944

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

Closed
wants to merge 8 commits into from
Closed
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
ENH : make sure errorbar respects errorbar
  • Loading branch information
tacaswell committed Mar 9, 2015
commit 189764eb9b5c805c006b953bf0b79cb3307c82b3
3 changes: 3 additions & 0 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2667,6 +2667,8 @@ def errorbar(self, x, y, yerr=None, xerr=None,

label = kwargs.pop("label", None)

zorder = kwargs.pop('zorder', 0)

# make sure all the args are iterable; use lists not arrays to
# preserve units
if not iterable(x):
Expand Down Expand Up @@ -2898,6 +2900,7 @@ def xywhere(xs, ys, mask):
has_xerr=(xerr is not None),
has_yerr=(yerr is not None),
label=label)
errorbar_container.set_zorder(zorder)
return self.add_container(errorbar_container)

def boxplot(self, x, notch=False, sym=None, vert=True, whis=1.5,
Expand Down
0