I have this Venn diagram:
from matplotlib_venn import venn2, venn2_circles
venn2(subsets = (30, 10, 5), set_labels = ('Group A', 'Group B'), set_colors=('r', 'g'), alpha = 0.5);
venn2_circles(subsets = (30, 10, 5));
Is it possible to change the line style to dashed of just the circle segments where Group A and B overlap (i.e. the lines around the brown area)?

Option 1
By setting the
edgecoloron each of the patches in the venn diagram (A,B, andC) we can see that the paths overlap around the overlapping section.But, by using a contrasting colour we can outline the overlap. The downside to this method is that we loose the
alphaon the overlap.Option 2
This method is completely untested outside of this problem As far as I can tell it should work for most 2-circle venn diagrams.
This one is a bit more involved, but it allows us to seamlessly add dashed lines around the overlap without affecting the
alpha. It requires that we import a function from a private module inmatplotlib_venn,circle_circle_intersectionwhich we will use to creatematplotlib.patches.Arcs.These arcs will replace the circles drawn by
matplotlib_venn.Which produces: