-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
[Bug]: PaddedBox not working #24620
Copy link
Copy link
Open
Labels
DocumentationkeepItems to be ignored by the “Stale” Github ActionItems to be ignored by the “Stale” Github Actionstatus: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Action
Metadata
Metadata
Assignees
Labels
DocumentationkeepItems to be ignored by the “Stale” Github ActionItems to be ignored by the “Stale” Github Actionstatus: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Action
Bug summary
PaddedBoxhttps://matplotlib.org/stable/api/offsetbox_api.html#matplotlib.offsetbox.PaddedBox doesn't look like it is working properly.Code for reproduction
Actual outcome
Expected outcome
Red box is at same location as text.
Additional information
It seems like the sizing is working OK (using a longer string will change the size accordingly), but that the positioning is not working.
Also, not passing
padleads to an error, so it should probably be 0. as default rather thanNone.Operating system
No response
Matplotlib Version
mainMatplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
git checkout