Skip to content

[Bug]: Autopositioned title overlaps with offset text #22062

Closed
@StefRe

Description

@StefRe

Bug summary

Autopositioned title overlaps with offset text of y axis.

Code for reproduction

import matplotlib.pyplot as plt

fig, ax = plt.subplots()
ax.plot([1e8, 2e8])
ax.set_title('Title', loc='left')
plt.show()

Actual outcome

old

Expected outcome

Title would move to not overlap with offset text (as it is the case for a top x axis).

Additional information

No response

Operating system

No response

Matplotlib Version

3.5.1

Matplotlib Backend

No response

Python version

No response

Jupyter version

No response

Installation

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions