Thanks to visit codestin.com
Credit goes to github.com

Skip to content

option for default space between title and axes #6257

Closed
@dstrozzi

Description

@dstrozzi

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!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions