Skip to content

Commit ccb1f02

Browse files
committed
Fix bug, when plotting multiple density distributions in subplots
Closes #230
1 parent b9c0532 commit ccb1f02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pedpy/plotting/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def _plot_violin_xy(
183183
y_label = kwargs.get("y_label", "")
184184

185185
axes.set_title(title)
186-
violin_parts = plt.violinplot(
186+
violin_parts = axes.violinplot(
187187
data,
188188
showmeans=True,
189189
showextrema=True,

0 commit comments

Comments
 (0)