Saving a plot
snowformatics opened this issue · 1 comments
snowformatics commented
Hi,
thanks for developing and maintaining pyCircos, looks very promising. I tried to reproduce your tutorial locally:
`
import pycircos
import matplotlib.pyplot as plt
Garc = pycircos.Garc
Gcircle = pycircos.Gcircle
#Set chromosomes
circle = Gcircle()
with open("test.csv") as f:
f.readline()
for line in f:
line = line.rstrip().split(",")
name = line[0]
length = int(line[-1])
arc = Garc(arc_id=name, size=length, interspace=3, raxis_range=(950,1000), labelposition=60, label_visible=True)
circle.add_garc(arc)
circle.save()`
"test.csv" contains the data of example_data_chromosome_general.csv. The PDF file is empty, do you have any ideas what I did wrong?
I am working on Windows 10 and installed pyCircos via pip.
Thanks a lot!
Stefanie
snowformatics commented
Sorry I missed the "circle.set_garcs(-65,245)" command, it works now!