Re: [Matplotlib-users] Hiding axis

2012-12-04 Thread Pierre Haessig
Hi,

Le 29/11/2012 20:42, Vilson Vieira a écrit :
 I tried the no_clip function but it didn't worked:
 https://gist.github.com/4171341

I just edited your file :
https://gist.github.com/4203760

I made 2 changes:
 * added a call to random.seed to make you code reproductible.
 * altered the call to set_clip_on(False). It should be called on the
Line2D object returned by plot()

I think it solves your clipping problem.

Best,
Pierre




signature.asc
Description: OpenPGP digital signature
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Hiding axis

2012-12-04 Thread Vilson Vieira
2012/12/4 Pierre Haessig pierre.haes...@crans.org

 I just edited your file :
 https://gist.github.com/4203760

 I made 2 changes:
  * added a call to random.seed to make you code reproductible.
  * altered the call to set_clip_on(False). It should be called on the
 Line2D object returned by plot()

 I think it solves your clipping problem.


Pierre, it works perfectly! Thank you so much.

All the best.

-- 
Vilson Vieira

vil...@void.cc

((( http://automata.cc )))

((( http://musa.cc )))

((( http://labmacambira.sourceforge.net )))
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] how to put colorbar label beside the handle?

2012-12-04 Thread ChaoYue
Hi, 

rather than the previous manual definition of the text postioins, I find a
more general/decent way:

yloc=(cbar.values-cbar.boundaries[0])/(cbar.boundaries[-1]-cbar.boundaries[0])
for l,y in zip(cbar_label,yloc):
cbar.ax.text(1,y,l,transform=cbar.ax.transAxes,ha='left',va='center')

Chao



--
View this message in context: 
http://matplotlib.1069221.n5.nabble.com/how-to-put-colorbar-label-beside-the-handle-tp39705p39941.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users