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

option for default space between title and axes #6257

Closed
dstrozzi opened this issue Apr 1, 2016 · 4 comments
Closed

option for default space between title and axes #6257

dstrozzi opened this issue Apr 1, 2016 · 4 comments

Comments

@dstrozzi
Copy link

dstrozzi commented Apr 1, 2016

I suggest that the user be able to change the default distance between the title and the axes (or whatever you call the white area with the "meat" of the plot). The default is too small - look around the matplotlib webpages, and a lot of plots have the title overlapping the y axis labels (esp. when a 1eN like 1e5 is displayed) or when a colorbar is used.

I fully realize one can do title('foo', y=1.1). But I don't want to type the 1.1 all the time! I could define my own function, but then the code isn't sharable.

So, please, add a "titlepad" analogous to "labelpad." I can't see why there should be one but not both.

Thanks!

@tacaswell
Copy link
Member

I think this is already planned as part of #6129

attn @mdboom

@tacaswell tacaswell added this to the 2.0 (style change major release) milestone Apr 1, 2016
@mdboom
Copy link
Member

mdboom commented Apr 7, 2016

Yeah -- Currently, though #6129 is just a bugfix around trying to make it less likely that the text touches the axes, not a true user option. But I think we'll have to do that in #6129 anyway...

@jenshnielsen
Copy link
Member

Fixed by #6468 which replaces #6129

@efiring
Copy link
Member

efiring commented May 28, 2016

Closed by #6468.

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

No branches or pull requests

6 participants