Open amoghcharan opened 10 months ago
Tested locally for updated support of Matplotlib 3.7.3+ with patches.Rectangle() now requiring angle= as an input argument. This change also works with previous versions of Matplotlib (tested from 3.6.0+)
patches.Rectangle()
angle=
Current: patches.Rectangle((x,y), width, length, angle, **kwargs)
patches.Rectangle((x,y), width, length, angle, **kwargs)
TypeError: Rectangle.init() takes 4 positional arguments but 5 were given
Update: patches.Rectangle((x,y), width, length, angle=angle, **kwargs)
patches.Rectangle((x,y), width, length, angle=angle, **kwargs)
Tested locally for updated support of Matplotlib 3.7.3+ with
patches.Rectangle()
now requiringangle=
as an input argument. This change also works with previous versions of Matplotlib (tested from 3.6.0+)Current:
patches.Rectangle((x,y), width, length, angle, **kwargs)
Update:
patches.Rectangle((x,y), width, length, angle=angle, **kwargs)