Skip to content

Commit

Permalink
specify angle as kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
bdpedigo committed Sep 26, 2023
1 parent 9663ff7 commit 4f224b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions graspologic/plot/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -763,10 +763,10 @@ def _plot_ellipse_and_data(
angle = np.arctan(u[1] / u[0])
angle = 180.0 * angle / np.pi
ell = mpl.patches.Ellipse(
[mean[j], mean[k]],
(mean[j], mean[k]),
v[0],
v[1],
180.0 + angle,
angle=180.0 + angle,
color=cluster_palette[i],
)
ell.set_clip_box(ax.bbox)
Expand Down

0 comments on commit 4f224b5

Please sign in to comment.