Skip to content
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

Fixed handling of bar(.., bottom=None, log=True) #1889

Merged
merged 2 commits into from May 21, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/matplotlib/axes.py
Expand Up @@ -4797,8 +4797,8 @@ def make_iterable(x):
if _bottom is None:
if self.get_yscale() == 'log':
adjust_ylim = True
else:
bottom = [0]
bottom = [0]

nbars = len(left)
if len(width) == 1:
width *= nbars
Expand All @@ -4812,8 +4812,8 @@ def make_iterable(x):
if _left is None:
if self.get_xscale() == 'log':
adjust_xlim = True
else:
left = [0]
left = [0]

nbars = len(bottom)
if len(left) == 1:
left *= nbars
Expand Down