[Matplotlib-users] Plotting date as hh:mm in contourf from seconds

2014-02-06 Thread Mario Mech
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(

[Matplotlib-users] redrawing map within gtk application

2013-09-11 Thread Mario Mech
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

[Matplotlib-users] basemap scatter

2013-04-12 Thread Mario Mech
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

Re: [Matplotlib-users] modifying colorbar ticklabels

2010-01-20 Thread Mario Mech
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.

Re: [Matplotlib-users] modifying colorbar ticklabels

2010-01-20 Thread Mario Mech
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

Re: [Matplotlib-users] modifying colorbar ticklabels

2010-01-20 Thread Mario Mech
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

[Matplotlib-users] modifying colorbar ticklabels

2010-01-20 Thread Mario Mech
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(

[Matplotlib-users] white area around plots

2010-01-15 Thread Mario Mech
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