A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://stackoverflow.com/questions/75919905/matplotlib-venn-label-text-colour below:

matplotlib-venn label text colour - Stack Overflow

Pure visualization question:

I'm trying to adjust the font size and colour of the labels of a venn diagram made with matplotlib-venn. I figured the font size can be adjusted with v.get_label_by_id('11').set_size(size) but I can't find an alternative for the colour.

Is there a way?

asked Apr 3, 2023 at 13:16

MatteoMatteo

33566 silver badges1717 bronze badges

You can try something like this to change font color for any desired color:

for text in v.set_labels:     # for external labels
    text.set_color("w")
for text in v.subset_labels:  # for internal labels
    text.set_color("w")

answered Nov 9, 2023 at 16:34

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4