Re: [Matplotlib-users] Focus in OSX

2012-04-10 Thread Elliot Saba
I can confirm all three of these issues. Having never used matplotlib outside of OSX Lion, I thought this was standard for MPL, I'm glad to hear it's not, but I agree that these are very important issues to be addressed. -E On Tue, Apr 10, 2012 at 7:12 PM, Chris Laumann wrote: > Hi all- > > I've

Re: [Matplotlib-users] How do I set grid spacing?

2012-04-10 Thread Ben Harrison
On 11/04/12 07:34, Paul Hobson wrote: > Ben > Does "ax.set_xlim([0,50])" do what you want it to do? > > -paul hi paul, i finally worked it out, and should have replied to myself: ax.set_xticks(np.arange(0,100,20)) for me it seemed to work. ben. ---

[Matplotlib-users] Focus in OSX

2012-04-10 Thread Chris Laumann
Hi all- I've been running into this issue for the last few months and at first thought it was Enthought specific but now have confirmed it on a clean (virtualenv) install of Fonnesbeck's superpack using built in Apple python and a dev matplotlib on Lion. With the OSX backend, figures clearly h

Re: [Matplotlib-users] How do I set grid spacing?

2012-04-10 Thread Paul Hobson
Ben Does "ax.set_xlim([0,50])" do what you want it to do? -paul On Tue, Apr 3, 2012 at 5:57 PM, Ben Harrison wrote: > I create my figure in my (non-interactive) script like so: > > import matplotlib.pyplot as plt > fig = plt.figure() > ax = fig.add_subplot(111) > ax.plot(...) > > Then I want to

[Matplotlib-users] numpoints in legend() function for scatter plot is not working in matplotlib 1.1.0?

2012-04-10 Thread wiswit
Dear all, I found that the numpoints in legend function for scatter plot is not working? import matplotlib as mat import matplotlib.pyplot as plt In [59]: mat.__version__ Out[59]: '1.1.0' #ordinary plot working fig=plt.figure() ax=fig.add_subplot(111) ax.plot(np.arange(10),'ro',label='tst') ax.

[Matplotlib-users] numpoints in legend() function for scatter plot is not working in matplotlib 1.1.0?

2012-04-10 Thread Chao YUE
Dear all, I found that the numpoints in legend function for scatter plot is not working? import matplotlib as mat import matplotlib.pyplot as plt In [59]: mat.__version__ Out[59]: '1.1.0' #ordinary plot working fig=plt.figure() ax=fig.add_subplot(111) ax.plot(np.arange(10),'ro',label='tst') ax.l

[Matplotlib-users] markeredgecolor (mec) in the plot function not working?

2012-04-10 Thread wiswit
Dear all, I use matplotlib 1.1.0. import matplotlib.pyplot as plt plt.plot(np.arange(10),'ro',mec='none') when I use plt.show(), there is only blank frame with axis not no points. but plt.plot(np.arange(10),'ro') will give good plot with read filled circles and black edges. plt.scatter(np.ar