Skip to content

Commit

Permalink
fix: lingering MoVM
Browse files Browse the repository at this point in the history
  • Loading branch information
huangziwei committed Feb 19, 2025
1 parent 1ce95f5 commit db68a65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycircstat2/visualization.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def circ_plot(
- **If True**, uses default settings.
- **If dict**, allows customization:
- **"method"** : str, default="nonparametric"
Method for density estimation ("nonparametric" or "MoVM").
Method for density estimation ("nonparametric" or "MovM").
- **"color"** : str, default="black"
Color of the density line.
- **"linestyle"** : str, default="-"
Expand Down Expand Up @@ -248,7 +248,7 @@ def circ_plot(
)
x, f = nonparametric_density_estimation(circ_data.alpha, h0)

elif density_method == "MoVM":
elif density_method == "MovM":

x = np.linspace(0, 2 * np.pi, 100)
f = circ_data.mixture_opt.predict_density(x=x, unit="radian")
Expand Down

0 comments on commit db68a65

Please sign in to comment.