Re: [matplotlib-devel] is basemap-1.0.1-examples.tar.gz corrupted?

2011-09-09 Thread Jeff Whitaker
On 9/2/11 1:33 AM, Sandro Tosi wrote:
> Hello,
> I'm trying to download basemap examples tarball from SF but it seems
> to be corrupted - could you confirm/fix it?
>
> Thanks,
Should be fixed now.

-Jeff

--
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] Implementation of cubehelix color scheme

2011-09-09 Thread Pim Schellart
Dear Developers,

In the field of Astronomy (and in science in general) we often make
images that represent the intensity of some source.
However the color schemes used to display images are not perceived as
increasing monotonically in brightness.
D.A. Green developed a color scheme that does increase monotonically
in brightness and this scheme is already in use in several data
display packages (e.g. CASA and AIPS, two software packages used to
analyze radio astronomy data).
The paper describing this algorithm can be found here
http://arxiv.org/abs/1108.5083
The main advantage of this color map is that images will look
monotonically increasing in brightness to the eye both on color screen
and when printed in black and white (as is often needed for scientific
papers).
Attached is a patch for _cm.py to add this colormap (named cubehelix
as it is named in CASA) to the list of matplotlib colormaps.

Complicating this a bit is the fact that the algorithm takes several
parameters as specified in the paper referred to (start color, number
of rotations, hugh parameter and gamma factor).
These parameters are now set to the values they have in the default
CASA color map but ideally they could be changed by the user.
I could not find any other colormap that has this option so I don't
know what the preffered way of doing this is, therefore I left the
values hardcoded which should be ok for most applications anyway.
Please let me know what you think.

Kind regards,

Pim Schellart


0001-Added-cubehelix-monotonically-increasing-colorscheme.patch
Description: Binary data
--
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] PySide Backend

2011-09-09 Thread Tiago Bonetti
I'm not sure if it's true to every install, but my m*atplotlibrc * was
missing a section.
Looking at *matplotlibrc.template* we have a section:

# If you are using the Qt4Agg backend, you can choose here
# to use the PyQt4 bindings or the newer PySide bindings to
# the underlying Qt4 toolkit.
#backend.qt4 : PyQt4# PyQt4 | PySide

Adding and configuring this section to my *matplotlibrc* solved it...
Not sure if it's a bug on installation process... Any Ideas?


Atenciosamente,
Tiago Ferreira Bonetti


On Thu, Sep 8, 2011 at 11:00 PM, Eric Firing  wrote:

> On 09/08/2011 03:53 PM, Tiago Bonetti wrote:
> > I'm new to github, so forgive me if I'm a litlle lost.
> > I have the most recent master branch from github matplotlib
> >  / matplotlib
> >  public repository...
> > I would like to help testing, yet i cant find the dev branch.
>
> It is what you have, the master branch.
>
> Eric
>
> >
> > Thanks,
> > Tiago Ferreira Bonetti
> >
> >
> > On Thu, Sep 8, 2011 at 10:27 PM, Benjamin Root  > > wrote:
> >
> >
> >
> > On Thursday, September 8, 2011, Tiago Bonetti
> > mailto:tiago.bone...@gmail.com>> wrote:
> >  > I was trying for dome time to use the Pyside Backend (qt4Agg with
> > pySide), with no success, but after reading the beckend code I've
> > finally made it.
> >  > After installing the 1.0.1 version on my Ubuntu, I've noticed the
> > installation doesn't check for pySide what is strange yet, not the
> > point here...
> >  > The trick was quite simple, forcing the QtGui and QtCore to be
> > declared from pySide module. This is done inside qt4_compat.py
> > checking for the string inside: rcParams['backend.qt4'].
> >  > This dictionary I don't know where It comes from, so, just
> > altering during runtime was enough to make the example
> > "embedding_in_qt4.py" work.
> >  > There is any better way to choose between pySide and pyQt?
> > Couldn't they be separated in to individual backends?
> >  > Yet  I understand this information is not easily available on the
> > Internet, so i'm trying to share it.
> >  > Thanks,
> >  > Tiago Ferreira Bonetti
> >  >
> >
> > Tiago,
> >
> > Have you had a chance to look at the code in the latest
> > developmental branch?  There was some work over the summer on this,
> > and I think it is largely resolved, but testing would be appreciated.
> >
> > Cheers!
> > Ben Root
> >
> >
> >
> >
> >
> --
> > Why Cloud-Based Security and Archiving Make Sense
> > Osterman Research conducted this study that outlines how and why cloud
> > computing security and archiving is rapidly being adopted across the IT
> > space for its ease of implementation, lower cost, and increased
> > reliability. Learn more.
> http://www.accelacomm.com/jaw/sfnl/114/51425301/
> >
> >
> >
> > ___
> > Matplotlib-devel mailing list
> > Matplotlib-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
>
> --
> Why Cloud-Based Security and Archiving Make Sense
> Osterman Research conducted this study that outlines how and why cloud
> computing security and archiving is rapidly being adopted across the IT
> space for its ease of implementation, lower cost, and increased
> reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
> ___
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] is basemap-1.0.1-examples.tar.gz corrupted?

2011-09-09 Thread Sandro Tosi
On Fri, Sep 9, 2011 at 14:50, Jeff Whitaker  wrote:
> On 9/2/11 1:33 AM, Sandro Tosi wrote:
>>
>> Hello,
>> I'm trying to download basemap examples tarball from SF but it seems
>> to be corrupted - could you confirm/fix it?
>>
>> Thanks,
>
> Should be fixed now.

Yes indeed, thanks! Just a side note: there's a lot of ._* files in
the tarball (I think they are some sort of Mac OS backup files or os);
they are not a problem but are kinda useless so it might be nice to
remove them altogether.

Thanks,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

--
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT 
space for its ease of implementation, lower cost, and increased 
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel