7;,top='off',labelbottom='off')
pyplot.show()
--
Dr. Mario Mech
Institute for Geophysics and Meteorology
University of Cologne
Pohligstr.3 / Room 3.120
50969 Cologne
Germany
t: +49(0)221-470-1776
f: +49(
height=h,ax=self.axMap)
self.map.fillcontinents(color='green')
self.canvasMap.draw()
self.canvasMap.Refresh(True)
if __name__ == "__main__":
bah = BGui()
gtk.main()
Thanks in advance.
Cheers
Mario
--
Dr. Mario Mech
Institute for Geophysics and Met
kers so that the
marker at point A has a size that corresponds to circle with radius of 2.5
km, point B to 1.5 km, and so on.
Has anyone ever done this?
Thanks in advance.
Mario Mech
--
Precog is a next-gener
ing ticklabels (or locations)
> after colorbar is created is quite tricky.
>
> Regards,
>
> -JJ
--
Dr. Mario Mech
Institute for Geophysics and Meteorology
University of Cologne
Zuelpicher Str. 49a
50674 Cologne
Germany
t: +49 (0)221 - 470 - 1776
f: +49 (0)221 - 470 - 5198
e: m.
in cb.ax.get_yticklabels():
print(j)
#
results in:
Text(0,0,'')
Text(0,0,'')
Text(0,0,'')
Text(0,0,'')
Text(0,0,'')
Text(0,0,'')
Text(0,0,'')
That's not what i expected and makes it hard to change single ticklabels.
C
On 20.01.2010 14:55, Scott Sinclair wrote:
>> 2010/1/20 Mario Mech:
>> cb = pyplot.colorbar(format=r"%2.1f")
>> for j in cb.ax.get_yticklabels():
>>j.set_text('bla')
>> pyplot.show()
>>
>> Doesn't do anything.
>
> It
lot.colorbar(format=r"%2.1f")
for j in cb.ax.get_yticklabels():
j.set_text('bla')
pyplot.show()
Doesn't do anything. Evenmore I don't understand why
for j in cb.ax.get_yticklabels():
print str(j)
results in
Text(0,0,'')
Text(0,0,'')
Text(
Hi all,
how can I reduce the white area around the plots (several subplots) with
legends outside to the right of the axes when saving it to a png-file?
pyplot.savefig('test2.png',bbox_inches='tight') shrinks the paper to axes size
but cuts the legend.
Thanks in advanc