|
From: John H. <jdh...@ac...> - 2004-03-14 19:48:39
|
>>>>> "Jean-Baptiste" == Jean-Baptiste Cazier <Jea...@de...> writes:
lh=len(h.haplist)
Xrange=[map[m] for m in [y for x,y in h.haplist]]
Yrange=[-math.log10(h.pval) for i in range(lh)]
line=canvas.figure.axes[0].plot(Xrange, Yrange, symbol)
line.set_visible(Plot.False)
Jean-Baptiste> Any idea ?
plot always return *a list* of lines. So you need to do
lines = canvas.figure.axes[0].plot(Xrange, Yrange, symbol)
lines[0].set_visible(Plot.False) # get the first element of the list
JDH
|