Closed shinokada closed 4 years ago
Is it possible to change the font size of A, B in the image above?
... figure, (ax1, ax2) = plt.subplots(1, 2, figsize=(15,15)) # A AND B v1 = venn2(subsets=(3, 3, 1), ax=ax1) c1 = venn2_circles(subsets=(3, 3, 1), ax=ax1) for area in ['01', '10', '11']: color = 'skyblue' if area == '11' else 'white' v1.get_patch_by_id(area).set_color(color) v1.get_patch_by_id(area).set_alpha(1) txt = v1.get_label_by_id(area) if txt: txt.set_text('') ax1.set_axis_on() ax1.set_facecolor('white') ax1.set_title("A AND B", fontsize=20) ymin, ymax = ax1.get_ylim() ax1.set_ylim(ymin - 0.1, ymax) ...
This works.
plt.rc('font', size=20)
Thanks.
Is it possible to change the font size of A, B in the image above?