Re: [Matplotlib-users] Best practices for organizing plotting code? (Greg Novak)

2009-12-22 Thread Ghose, Kaushik
Hi, Regarding Greg´s post about how to organize plotting code for data. This is a common issue encountered regardless of who collected the data or how the data was generated. I´m an experimental neuroscientist in that I collect the data that I then analyze to test hypotheses and models. After

Re: [Matplotlib-users] Best practices for organizing plotting code? (Greg Novak)

2009-12-22 Thread Christopher Barker
A couple more thoughts on this: 4) Don't put clf() and cla() all over the place. absolutely -- my addition to this is to use the OO API more than the pylab one. Put all your plotting code into functions that take an axes object as a parameter, then go from there. That way you have separated

Re: [Matplotlib-users] Best practices for organizing plotting code? (Greg Novak)

2009-12-22 Thread Gökhan Sever
On Tue, Dec 22, 2009 at 7:17 AM, Ghose, Kaushik kaushik_gh...@hms.harvard.edu wrote: Hi, Regarding Greg´s post about how to organize plotting code for data. This is a common issue encountered regardless of who collected the data or how the data was generated. I´m an experimental

[Matplotlib-users] python make.py html failure

2009-12-22 Thread Nils Wagner
Hi all, I cannot build the documentation of matplotlib. I am using the latest svn of numpy and matplotlib. How can I fix the problem ? Nils python make.py html Running Sphinx v1.0 loading pickled environment... not found animation, api, axes_grid, event_handling, misc, mplot3d,

Re: [Matplotlib-users] python make.py html failure

2009-12-22 Thread Michael Droettboom
I get the same errors as you (which seem to indicate a bug in the axis_grid toolkit), but it's not catastrophic -- the documentation is ultimately built anyway, missing a couple of figures. (I tried with both Sphinx 0.6.3 and Sphinx hg latest). Have you tried a clean rebuild? (By removing

[Matplotlib-users] Specifying the number of ticks on y-axis

2009-12-22 Thread Sharaf Al-Sharif
Hi, Is there a way to specify the number of ticks on an axis? Say, I want the y-axes on all my subplots to have 5 ticks, for example. Thanks. Sharaf -- This SF.Net email is sponsored by the Verizon Developer Community

Re: [Matplotlib-users] python make.py html failure

2009-12-22 Thread Jae-Joon Lee
As far as I can see, this happens when there are obsolete rst files (related with the Gallery I guess), created during the doc. build with previous svn checkout. For example, I recently removed mpl_examples/axes_grid/demo_fixed_size_axes.py from the svn. But if you ever have built the

[Matplotlib-users] [PyQt] Plotting resets autoscale_on to true

2009-12-22 Thread Till Stensitzki
Hello, i am using a Matplotlib figure as widget, in a PyQt4 programm. Everything works, except set_autoscale_on(False). Everytime i call a figure axes to plot something, it forgets its autoscale status. Here some code, with axs a subplot of a figure: |print axs.get_autoscale_on()