Re: [matplotlib-devel] Adding 'grey' to all the 'grays' in mpl.colors
> # add british equivs > for k, v in cnames.items(): >if k.find('gray')>=0: >k = k.replace('gray', 'grey') >cnames[k] = v Neat, that's a much better idea. > Note that in pylab, you can get some extra information by doing > help(colors) Thanks. I really like all the new auto-generated kwarg properties that are showing up in the docstrings now. I just noticed them today as I upgraded to 0.90. Martin - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Adding 'grey' to all the 'grays' in mpl.colors
John Hunter wrote: > Thanks for the suggestion -- I did this automagically with # add british equivs for k, v in cnames.items(): if k.find('gray')>=0: k = k.replace('gray', 'grey') cnames[k] = v Just noticed that 'lightgrey' is still in the cnames dict, which means that 'lightgray' is an invalid name. Here's the patch. Cheers, Martin Index: lib/matplotlib/colors.py === --- lib/matplotlib/colors.py(revision 3013) +++ lib/matplotlib/colors.py(working copy) @@ -109,7 +109,7 @@ 'lightcyan': '#E0', 'lightgoldenrodyellow' : '#FAFAD2', 'lightgreen' : '#90EE90', -'lightgrey': '#D3D3D3', +'lightgray': '#D3D3D3', 'lightpink': '#FFB6C1', 'lightsalmon' : '#FFA07A', 'lightseagreen': '#20B2AA', @@ -188,7 +188,7 @@ if k.find('gray')>=0: k = k.replace('gray', 'grey') cnames[k] = v - + def looks_like_color(c): warnings.warn('Use is_color_like instead!', DeprecationWarning) if is_string_like(c): - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Do you use python setup.py build_ext --inplace ?
On 2/12/07, Andrew Straw <[EMAIL PROTECTED]> wrote: > Great, thanks for checking that in. > > It looks like images/*.png didn't make it in. OK, I committed these. I'm not sure why they didn't go in the first time since they were in my mpl-data/images dir when I added it. Give it a test drive. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Do you use python setup.py build_ext --inplace ?
On 2/13/07, John Hunter <[EMAIL PROTECTED]> wrote: > On 2/12/07, Andrew Straw <[EMAIL PROTECTED]> wrote: > > Great, thanks for checking that in. > > > > It looks like images/*.png didn't make it in. > > OK, I committed these. I'm not sure why they didn't go in the first > time since they were in my mpl-data/images dir when I added it. Give > it a test drive. I've checked out this (with the PNG files !) and it works perfectly. Thanks! Nicolas - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
[matplotlib-devel] Year of last entries in CHANGELOG is 2007
I suppose the year of the last entries of CHANGELOG is 2007, not 2006. Regards, Nicolas Grilly - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Patch for enhancement of PDF backend
On 2/13/07, Nicolas Grilly <[EMAIL PROTECTED]> wrote: > Here is a patch I promised some time ago, to improve the PDF backend. Jouni, I'm going to leave this up to you, but Nicolas this looks very nice. Thanks! JDH - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel