[matplotlib-devel] Website needs love

2011-05-10 Thread Ben Gamari
The website is quite out of date. Not only does it claim that the latest
release is 1.0.0, but the link to the github repository appears to be
broken (has unneeded .git at the end of it).

Cheers,

- Ben

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Website needs love

2011-05-10 Thread Jason Grout
On 5/10/11 9:43 AM, Ben Gamari wrote:
> The website is quite out of date. Not only does it claim that the latest
> release is 1.0.0, but the link to the github repository appears to be
> broken (has unneeded .git at the end of it).
>

Is the website itself in the git repository?  If so, I suppose someone 
could just fork it and make a pull request.

Jason

--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Website needs love

2011-05-10 Thread Benjamin Root
On Tue, May 10, 2011 at 12:42 PM, Jason Grout
wrote:

> On 5/10/11 9:43 AM, Ben Gamari wrote:
> > The website is quite out of date. Not only does it claim that the latest
> > release is 1.0.0, but the link to the github repository appears to be
> > broken (has unneeded .git at the end of it).
> >
>
> Is the website itself in the git repository?  If so, I suppose someone
> could just fork it and make a pull request.
>
> Jason
>
>
The documentation is a part of the matplotlib package.  The website is
generated from that information and uploaded to the sourceforge site.  I
have been doing some work on other pages (see
https://github.com/matplotlib/matplotlib/pull/102 ).  Please use this branch
of mine to make small changes so that we can bring all of the changes into
the docs at once.

The one thing I am confused about is what file to edit for the main page.  I
must be very dense because I just simply can not figure out where the main
page is generated from.  I have been meaning to fix some things on the front
page for a while now, but have been too afraid to ask.

Ben Root
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Website needs love

2011-05-10 Thread John Hunter
On Tue, May 10, 2011 at 12:48 PM, Benjamin Root  wrote:

>
>
>
> The one thing I am confused about is what file to edit for the main page.
> I must be very dense because I just simply can not figure out where the main
> page is generated from.  I have been meaning to fix some things on the front
> page for a while now, but have been too afraid to ask.
>

see doc/_templates/*.html

After you have integrated the pull request into the 1.0.x branch (which is
what I build the website from) I'll build and push it to the sf site.
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] running the tests

2011-05-10 Thread butterw
I've been trying to run the matplotlib test suite but the docs seem  
incomplete on this subject.



http://matplotlib.github.com/devel/coding_guide.html#running-the-tests
Running the tests is simple. Make sure you have nose installed and type  
from within Python:

import matplotlib
matplotlib.test()
To run a single test from the command line, you can provide a dot-separated  
path to the module and function, eg. (this is assuming the test is  
installed):

nosetests matplotlib.tests.test_simplification:test_clipping



Most test fail when I do what is suggested because PIL is not installed and  
is a requirement for all image_comparison tests.


A bit more information in the docs would be helpful for first time testers.
IMO the optional dependencies required for running the test suite should be  
listed (possibly in the installation guide:

http://matplotlib.github.com/users/installing.html )
and info should be provided on how to run only the tests that don't require  
PIL.





matplotlib.test()

...
==
ERROR: matplotlib.tests.test_mathtext.test_mathtext_stixsans
--
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\nose-1.0.0-py2.6.egg\nose\case.py",  
line 187, in runTest

self.test(*self.arg)
File "C:\Python26\lib\site-packages\matplotlib\testing\decorators.py", line  
32, in failer

result = f(*args, **kwargs)
File "C:\Python26\lib\site-packages\matplotlib\testing\decorators.py", line  
122, in decorated_co

mpare_images
in_decorator=True )
File "C:\Python26\lib\site-packages\matplotlib\testing\compare.py", line  
187, in compare_images

raise NotImplementedError, e
NotImplementedError: No module named PIL

--
Ran 150 tests in 143.964s

FAILED (KNOWNFAIL=2, errors=133)
Out[4]: False
--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Backend for Pyside

2011-05-10 Thread Gerald Storer
Based on this and some other comments I've made the minimum compatible 
version 1.0.3.

Anyone wishing to test can use the nightly builds here: 
http://www.pyside.org/files/nightly/ or just wait for next months 
release.  There's also compiling the PySide source or removing the 
version check too.

Gerald.

On 6/05/2011 4:32 PM, David Trémouilles wrote:
> Hello,
>
> This is not directly related to your patch but I would like to
> report here that I still have at least one issue on MacOs
> that prevent matplotlib to work with your pyside backend.
> Indeed current PySide version (1.0.2) have a bug on MacOS that seems to
> have been fixed recently:
> http://bugs.pyside.org/show_bug.cgi?id=809
> But I will have to wait for next PySide release to
> confirm your pyside patch works on MacOs.
> Will test as soon as next pyside version is out and available on
> macports. I do not have time nor will to test with the latest current
> pyside head.
>
> Regards,
>
> David
>
>
>
> Le 06/05/11 03:36, Gerald Storer a écrit :
>> Hi,
>> I was wondering if I could get a comment on this.  Its been 4 weeks
>> since I submitted the original version and it has been more or less
>> production ready since Monday.
>>
>> https://github.com/matplotlib/matplotlib/pull/80
>>
>> Thanks,
>> Gerald.
>>
>> On 11/04/2011 4:49 PM, Gerald Storer wrote:
>>> Hi,
>>> I've submitted a pull request with backend changes that (should) let
>>> all currently supported versions of PyQt work along side PySide.  I've
>>> tested with PyQt 4.8.3 and PySide 1.0.0.
>>>
>>> I haven't bothered chasing down old versions of PyQt as they seem
>>> elusive.
>>>
>>> Gerald.
>>>
>>> On 29/03/2011 3:25 AM, butt...@gmail.com wrote:
 Looking forward, supporting the Python 3 compatible PyQt API is
 likely the way to go.

 Le , Gerald Storer   a écrit :
> On 28/03/2011 1:10 AM, Peter Butterworth wrote:
>
>
> Wouldn't it be possible to use a single backend compatible with both
>
> PyQt and Pyside ?
>
>
> The current Qt mpl backend uses the old PyQt slots/signals API
 which PySide doesn't really support (there are some macros but they
 don't work 100% the same).  From a quick glance at the IPython
 implementation it looks like they are using the new API which means
 older versions (<4.5) of PyQt won't be supported. This might be ok, I
 don't know.
> If it isn't then, there will need to be some try...excepts around
 the place or separate back ends.  If you ignore the PySide bugs I had
 to work around I've only changed ~4 lines in the main backend.
>
>
> Pierre's formlayout is also using an obsolete method that isn't
 present in PySide.  I've opted to emulate it, but it would be best to
 change the code to use the alternative method available in both PyQt
 and PySide.  formlayout also uses the old QString implementation of
 PyQt, PySide only supports the new implementation where QString is
 transparently convert to/from str/unicode.  Setting QString = unicode
 seems to work though.
>
>
> Gerald.
>
>>
>>
>> --
>> WhatsUp Gold - Download Free Network Management Software
>> The most intuitive, comprehensive, and cost-effective network
>> management toolset available today.  Delivers lowest initial
>> acquisition cost and overall TCO of any competing solution.
>> http://p.sf.net/sfu/whatsupgold-sd
>> ___
>> Matplotlib-devel mailing list
>> Matplotlib-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
> --
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> ___
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel



--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel