Skip to content

Commit

Permalink
fix: fixed hatc in violin plots (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlerat authored Feb 8, 2025
1 parent f8275e7 commit 46fb0f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hydrodiy/plot/violinplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ def draw(self, ax=None, ylim=None):
vv = x[ix]
uc = np.concatenate([uu1, uu2[::-1], [uu1.iloc[0]]])
vc = np.concatenate([vv, vv[::-1], [vv.iloc[0]]])
hatch = None if item.hatch == "none" else item.hatch
cpoly = Polygon(np.column_stack([uc, vc]),
edgecolor=item.linecolor,
facecolor=item.facecolor,
Expand Down

0 comments on commit 46fb0f5

Please sign in to comment.