8000 Incorrect margins in log scale · Issue #6643 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Incorrect margins in log scale #6643

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
anntzer opened this issue Jun 25, 2016 · 2 comments
Closed

Incorrect margins in log scale #6643

anntzer opened this issue Jun 25, 2016 · 2 comments
Milestone

Comments

@anntzer
Copy link
Contributor
anntzer commented Jun 25, 2016

As of 2.0b1 and master, semilogy([.2, 2]) gives
semilogy
i.e. the bottom margin is too small.

Actually, handle_single_margin (in _AxesBase) does the right thing (expand the limits after transforming to plot coordinates), but then passes the limits to LogLocator.view_limits, which undoes all the good work while executing

        if vmin <= minpos:
            vmin = minpos

(this check was introduced by 426eabc, let's see whether it's still needed...)

@anntzer
Copy link
Contributor Author
anntzer commented Jun 27, 2016

... interestingly, this only occurs if there's no explicit call to margins either before or after the plotting.

@tacaswell tacaswell added this to the 2.0 (style change major release) milestone Jul 22, 2016
@NelleV
Copy link
Member
NelleV commented Nov 11, 2016

Closed by #7410

@NelleV NelleV closed this as completed Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
0