konstantint / matplotlib-venn

Area-weighted venn-diagrams for Python/matplotlib
MIT License
495 stars 67 forks source link

How to set the fontsize when you use set_text('A') #56

Closed shinokada closed 3 years ago

shinokada commented 3 years ago

What is the best way to set the text size when you use set_text('A').

v.get_label_by_id('010').set_text('A')
konstantint commented 3 years ago

The object returned by v.get_label_by_id('010') is an instance of matplotlib.text.Text. You are free to use any of its methods to modify its properties. In your case you should probably look into set_fontsize.

shinokada commented 3 years ago

Thank you very much for your kind reply.

I appreciate your help.

shinokada commented 3 years ago

Hi,

I just wanted to say thank you again. I wrote an article on Medium about Matplotlib-venn.

Without your help, I couldn't write this.