Created
July 16, 2020 09:42
-
-
Save ChaitanyaBaweja/8017c6df900580367712716aadd4ca8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# defining our venn | |
v = venn2(subsets=(1,1,1), set_labels = ('Set A', 'Set B')) | |
# setting color of id 11 to purple | |
v.get_patch_by_id('11').set_color('purple') | |
#setting label of id 10 to New Text | |
v.get_label_by_id('10').set_text('New Text') | |
#plot title | |
plt.title('Customizing Venn using IDs') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment