Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Use data limits plus a little padding by default #5583

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 6 commits into from
Dec 8, 2015
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
PEP8
  • Loading branch information
mdboom committed Dec 5, 2015
commit 0e0c005e88fab2e5dd3644a9c3902fac46ce6aaa
3 changes: 2 additions & 1 deletion 3 lib/matplotlib/axes/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2220,7 +2220,8 @@ def handle_single_axis(scale, autoscaleon, shared_axes, interval,
minpos = getattr(bb, minpos)
transform = axis.get_transform()
inverse_trans = transform.inverted()
x0, x1 = axis._scale.limit_range_for_scale(x0, x1, minpos)
x0, x1 = axis._scale.limit_range_for_scale(
x0, x1, minpos)
x0t, x1t = transform.transform([x0, x1])
delta = (x1t - x0t) * margin
if do_lower_margin:
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.