[Biopython-dev] Tutorial: GenomeDiagram problem

Manlio Calvi manlio.calvi at gmail.com
Mon May 19 14:21:52 UTC 2014


So it keep repeating the same figure, are you sure you close the
figure with close method?

On Mon, May 19, 2014 at 3:37 PM, Peter Cock <p.j.a.cock at googlemail.com> wrote:
> On Mon, May 19, 2014 at 2:26 PM, Tiago Antao <tra at popgen.net> wrote:
>> Hi,
>>
>> I am trying to produce documentation in ipython notebook as previously
>> discussed. I am currently trying to create a notebook with
>> GenomeDiagram (should look cool!)
>>
>> I have found a simple problem (not simple for me, though):
>>
>> http://biopython.org/DIST/docs/tutorial/Tutorial.html#sec335
>>
>> On the feature captions example there is no code to actually generate
>> the picture that is there.
>>
>> I tried:
>> gdd.draw(format='linear', pagesize=(15*cm,4*cm), fragments=1,
>>          start=0, end=400)
>> gdd.write("GD_labels.png", "png")
>>
>> But with no success (either it just repeats the previous - only green
>> - figure). Any ideas would be appreciated here...
>
> Might this be something silly with reused filenames? How does
> ipython know to look at the PNG just generated?
>
> Peter
> _______________________________________________
> Biopython-dev mailing list
> Biopython-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biopython-dev



More information about the Biopython-dev mailing list