You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm always frustrated when matplotlib.patches.Rectangle does not round the corners of the rectangle because it requires padding and other rectangle-irrelevant values.
I would like it if there is a clsas or method like matplotlib.patches.RoundedRectangle(xy, width, height, corner_radius, **kwargs) that can take any radius <= min(width, height) because matplotlib.patches.FancyBboxPatch does not round the rectangle as much as possible.
Problem
matplotlib.patches.Rectangle
does not round the corners of the rectangle because it requires padding and other rectangle-irrelevant values.matplotlib.patches.RoundedRectangle(xy, width, height, corner_radius, **kwargs)
that can take any radius <= min(width, height) becausematplotlib.patches.FancyBboxPatch
does not round the rectangle as much as possible.Proposed solution
Please add/implement
matplotlib.patches.RoundedRectangle(xy, width, height, corner_radius, **kwargs)
The text was updated successfully, but these errors were encountered: