tctianchi / pyvenn

2 ~ 6 sets venn diagram for python
The Unlicense
311 stars 119 forks source link

labels/names not displayed #20

Closed robertzeibich closed 12 months ago

robertzeibich commented 2 years ago

I am using Python 3.8.3. Do you know why the labels/names are not displayed?

labels_names_venn4
tctianchi commented 2 years ago

Is draw_text working alone?

from venn import draw_text
import matplotlib.pyplot as plt

fig = plt.figure(0)
ax = fig.add_subplot(111, aspect='equal')
ax.set_axis_off()
ax.set_ylim(bottom=0.0, top=1.0)
ax.set_xlim(left=0.0, right=1.0)
draw_text(fig, ax, 0.13, 0.18, 'A')

image

robertzeibich commented 2 years ago

ImportError: cannot import name 'draw_text' from 'venn' (/scratch/xm41/rzei0002/miniconda/lib/python3.8/site-packages/venn/init.py)

tctianchi commented 12 months ago

Your path (site-packages/venn/init.py) implies that your question might be related to a fork of this repository.