Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Labels
Description
Problem
I would like to be able to do
import matplotlib.pyplot as pltfig, ax = plt.subplots()text = ax.text(0.5, 0.5, "Hello World!", ha="center", va="center", bbox=dict(boxstyle="round", ec="black", fc="lightblue", width=150)) # Set custom width hereplt.show()
but this results in a bug in creatingFancyBboxPatch
. I think width and height should be implemented as keywords when creating a text for cases where the user would like to make to text box larger for example.
Proposed solution
No response