Skip to content

Commit

Permalink
make rect angle a kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
Kip Hart committed Oct 5, 2023
1 parent a4e590f commit 44352af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/microstructpy/geometry/rectangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def plot(self, **kwargs):
w = self.length
h = self.width
ang = self.angle
c = patches.Rectangle(pt, w, h, ang, **kwargs)
c = patches.Rectangle(pt, w, h, angle=ang, **kwargs)
plt.gca().add_patch(c)


Expand Down

0 comments on commit 44352af

Please sign in to comment.