Re: [Matplotlib-users] data free margin

2011-11-22 Thread Nicolas Rougier
Is that what you want ? No ticks, no labels: import matplotlib.pyplot as plt plt.plot(np.arange(10), np.arange(10)) plt.ylim(0,10) plt.yticks(np.linspace(3,10,8)) plt.show() Ticks but no labels: import matplotlib.pyplot as plt plt.plot(np.arange(10), np.arange(10)) plt.ylim(0,10) plt.yticks(n

[Matplotlib-users] data free margin

2011-11-22 Thread C M
What's the best way in Matplotlib to have a y axis that doesn't have ticks/axis numbers near the bottom of the graph? I don't know if it would be specified as the bottom 1/10th of the graph or x amount of pixels or inches or whatever...just need a bit of extra "y-less" space there to plot values t

Re: [Matplotlib-users] missing library animation from enthought distribution

2011-11-22 Thread Goyo
2011/11/22 Robert Kern : > To get matplotlib 1.1.0 right now, you will have to build it yourself from > sources. Matplotlib packages for Precise also seem to work well in Oneiric. Goyo -- All the data continuously gener

Re: [Matplotlib-users] missing library animation from enthought distribution

2011-11-22 Thread Robert Kern
On 11/22/11 9:40 AM, andrei barcaru wrote: > Hello > My name is Andrew and I'm working in University of Gerona, Spain. I've > installed > the entought distribution package on UBUNTU 11 32b OS . During the install I > was > asked by the shell if I want to create a folder .. so I did that, I've >

Re: [Matplotlib-users] Unicode greek letters

2011-11-22 Thread Michael Droettboom
You may need to set your default font to something with those characters. For example: import matplotlib matplotlib.rcParams['font.family'] = 'DejaVu Sans' Mike On 11/22/2011 05:41 AM, Yannick Copin wrote: > Hi, > > I'm confused regarding the use of Unicode characters in matplotlib. I

Re: [Matplotlib-users] pylab.show() does nothing OSX Lion

2011-11-22 Thread Collin Capano
Hi Paul, Thanks. I tried that and I get the same results as you --- running "./version.py" returns 2.7.1 but "python version.py" returns 2.7.2. I think it's because the python installed at /usr/bin/python is the one that came with the OS; when I installed python 2.7.2 using macports, it install

[Matplotlib-users] missing library animation from enthought distribution

2011-11-22 Thread andrei barcaru
Hello My name is Andrew and I'm working in University of Gerona, Spain. I've installed the entought distribution package on UBUNTU 11 32b OS . During the install I was asked by the shell if I want to create a folder .. so I did that, I've created a folder named pyth. Now .. when I'm trying to impor

Re: [Matplotlib-users] Bug or feature: bbox of maps

2011-11-22 Thread Jeff Whitaker
On 11/21/11 8:45 PM, Arlindo da Silva wrote: Hi, (A similar issue was reported back in 7/4/11 without a definite solution, so I am reposting with some additional diagnostics. ) Up to Matplotlib 0.99 (EPD 6.3) the code snippet below produced a plot with an aligned colorbar as in the attache

[Matplotlib-users] Unicode greek letters

2011-11-22 Thread Yannick Copin
Hi, I'm confused regarding the use of Unicode characters in matplotlib. I tried the following: #!/usr/bin/env python # -*- coding: utf-8 -*- import matplotlib.pyplot as P ax = P.gca() ax.set_title(u"OK: ±×÷, Not OK: αβγδ") P.show() The 1st "OK" characters are displayed correctly, while th