On Tue, Feb 8, 2011 at 5:53 PM, Paul Leopardi <paul.leopa...@iinet.net.au>wrote:

> Hi Ben,
> On Wed, 9 Feb 2011 03:15:19 AM you wrote:
> > As formatted, the code would not run.  I presume that everything after
> "for
> > j in range(0,M):" should be indented?  When I did that and ran it in
> > ipython, I could not reproduce your problem.  What version of matplotlib
> > are you running?
>
> Thanks for your continued close attention to this undoubted problem.
>
> Your email system mangled the indentation. The correct indentation is
> displayed at
> http://sourceforge.net/mailarchive/message.php?msg_id=27020771
>
> I have also included a copy of the script matplotlib_bug_example.py with
> this
> message. [*Not* posted to the list.] Here is how I run it:
>
> ipython -pylab
> Python 2.6.2 (r262:71600, Oct 28 2010, 20:54:41)
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.10 -- An enhanced Interactive Python.
> ?         -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help      -> Python's own help system.
> object?   -> Details about 'object'. ?object also works, ?? prints more.
>
>  Welcome to pylab, a matplotlib-based Python environment.
>  For more information, type 'help(pylab)'.
>
> In [1]: run matplotlib_bug_example.py
>
> My original post
> http://sourceforge.net/mailarchive/message.php?msg_id=27016368
> listed what I thought were the relevant versions:
>
> Quote
> I am using openSUSE 11.2 with
> python-base-2.6.2-6.7.1.x86_64
> python-matplotlib-1.0.1-20.1.x86_64
> python-matplotlib-tk-1.0.1-20.1.x86_64
> python-matplotlib-wx-1.0.1-20.1.x86_64
> Unquote
>
> I have since run the script on a second machine which uses Ubuntu Karmic,
> with
> identical results.
>
> Versions in brief:
> Linux linfinit 2.6.31.12-0.1-default #1 SMP PREEMPT 2010-12-10 11:18:32
> +0100
> x86_64 x86_64 x86_64 GNU/Linux
>
> IPython-0.10-3.2.noarch
> python-2.6.2-6.7.1.x86_64
> python-matplotlib-1.0.1-20.1.x86_64
> python-matplotlib-tk-1.0.1-20.1.x86_64
> python-matplotlib-wx-1.0.1-20.1.x86_64
> python-numpy-1.5.0-17.2.x86_64
> python-tk-2.6.2-6.7.1.x86_64
>
> Linux cheeze 2.6.31-22-generic #70-Ubuntu SMP Wed Dec 1 23:51:13 UTC 2010
> i686 GNU/Linux
>
> ipython              0.10-1
> python               2.6.4-0ubuntu1
> python-matplotlib    0.99.0-1ubuntu1
> python-numpy         1:1.3.0-3
> python-tk            2.6.3-0ubuntu1
>
>
> I have included a listing showing all versions of all packages with names
> containing the string "python", on both machines. [*Not* posted to the
> list.]
> Best, Paul
>
>
Trying out the script on another machine of mine, I was able to reproduce
the problem.  I will have to see what is the difference between my two
computers that would cause the other one to work perfectly fine.

Ben Root
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to