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()
Sharaf Al-Sharif wrote:
> 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.
import matplotlib.ticker as mticker
ax.yaxis.set_major_locator(mticker.MaxNLocator(4,steps=[1, 2, 5, 10]))
--
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 documentatio
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
Take
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 the
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,
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 neuro
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
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 s