Home > Blockchain >  Fill facecolor in convex hulls for custom seaborn mapping function
Fill facecolor in convex hulls for custom seaborn mapping function

Time:02-04

I'm trying to overlay shaded convex hulls to the different groups in a scatter seaborn.relplot using Matplotlib. Based on this enter image description here

However, the convex hulls are not filled in with the same color as the edge, even though I specified that

plt.fill(points[simplex, 0], points[simplex, 1], 
                    facecolor = color, alpha=0.5,
                    edgecolor = color, # color is an RGB tuple like (0.12, 0.46, 0.71)
                    )

I've also tried setting facecolor='lightsalmon' like this sns.relplot with convex hulls per hue

  • Related