Skip to content

tight_layout doesn't leave enough space between outwards ticks and axes title #5868

Closed
@anntzer

Description

@anntzer

All's in the title (notice how the descender of the "j" (also pretty bad with "g") runs into the outwards tick).

from pylab import *
rcParams["xtick.direction"] = "out"
gca().set_title("j" * 30)
tight_layout()
show()

1.5.0
screenshot_20160117_020324
master
screenshot_20160117_020348

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions