[ENH]: Ellipse annotation #24568
Labels
Good first issue
Open a pull request against these issues if there are no active ones!
New feature
topic: annotation
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Problem
Currently there is only a circle annotation among the "round" annotations, which can be quite big for long texts.
Proposed solution
Add an ellipse annotation. Equations can be found here (second answer): https://stackoverflow.com/questions/433371/ellipse-bounding-a-rectangle
The code will be very similar to the circle annotation:
matplotlib/lib/matplotlib/patches.py
Lines 2327 to 2346 in dc0328f
but with an ellipse rather than a circle.
There is also a bit of documentation to update, e.g., https://matplotlib.org/stable/tutorials/text/annotations.html
The text was updated successfully, but these errors were encountered: