A RetroSearch Logo

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

Search Query:

Showing content from http://stackoverflow.com/questions/74051415/matplotlib-venn-left-top-heading-does-not-fit below:

python - matplotlib_venn left top heading does not fit

The following code cut the legend of the right top circle.

Is there a way to move the legend?

from matplotlib import pyplot as plt
from matplotlib_venn import venn3_unweighted

plt.style.use('seaborn')

plt.figure(figsize=(5, 5))
#plt.title("Venn Diagram For Three Random Sets")
#Nsyl (33,773 genes)
# (Set1,Set2,1n2,Set3,1n3,2n3,1n2n3)
venn3_unweighted(subsets=(703, 659, 5205, 3444, 1583, 1580, 17280),
      set_labels=('Nlab (45,309 genes)', 'Nqld (49,639 genes)', 'Ngla (53,626 genes)'))

plt.show()

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