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] Hiding axis

2012-11-29 Thread Vilson Vieira
2012/11/28 Angus McMorland amcm...@gmail.com

 I think your problem is with clipping. Try the no_clip function in
 this thread [1] and see if that helps.

 [1]
 http://matplotlib.1069221.n5.nabble.com/How-to-turn-off-all-clipping-td1813.html#a1814


Hi Angus,

I tried the no_clip function but it didn't worked:

https://gist.github.com/4171341

Any idea?

Thank you.

-- 
Vilson Vieira

vil...@void.cc

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

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

((( http://labmacambira.sourceforge.net )))
--
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] Hiding axis

2012-11-28 Thread Vilson Vieira
Hi,

I'm using matplotlib to draw some generative art works. I'm trying to hide
the axis but when I do that the lines that are over the axis are hidden as
well, like this example: http://i.imgur.com/hKqMi.png

The code I'm using to generate those kind of random walk plots is here:
https://gist.github.com/4164025

I already tried subplots_adjust, and set_alpha/set_visible on axis and
spines but anything worked.

Any help?

Thank you so much.

-- 
Vilson Vieira

vil...@void.cc

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

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

((( http://labmacambira.sourceforge.net )))
--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


Re: [Matplotlib-users] Hiding axis

2012-11-28 Thread Angus McMorland
On 28 November 2012 15:28, Vilson Vieira vil...@void.cc wrote:
 Hi,

 I'm using matplotlib to draw some generative art works. I'm trying to hide
 the axis but when I do that the lines that are over the axis are hidden as
 well, like this example: http://i.imgur.com/hKqMi.png

 The code I'm using to generate those kind of random walk plots is here:
 https://gist.github.com/4164025

 I already tried subplots_adjust, and set_alpha/set_visible on axis and
 spines but anything worked.

I think your problem is with clipping. Try the no_clip function in
this thread [1] and see if that helps.

[1] 
http://matplotlib.1069221.n5.nabble.com/How-to-turn-off-all-clipping-td1813.html#a1814

Angus
--
AJC McMorland
Post-doctoral research fellow
Neurobiology, University of Pittsburgh

--
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users