[matplotlib-devel] What is rcParams['units'] for?

2011-04-19 Thread Eric Firing
While investigating the imshow problem reported today by Emanuale 
Passera (a problem that seems to have been fixed, though I don't know 
when or how), I stumbled across the verbose-helpful report of the 
"units" rcParams entry.  Sure enough, it is in rcsetup.py and in 
matplotlibrc.template, but a quick code scan turned up no evidence that 
it is used anywhere.  Is it vestigial, and a candidate for surgical removal?

Eric

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] What is rcParams['units'] for?

2011-04-19 Thread Darren Dale
On Tue, Apr 19, 2011 at 3:07 AM, Eric Firing  wrote:
> While investigating the imshow problem reported today by Emanuale
> Passera (a problem that seems to have been fixed, though I don't know
> when or how), I stumbled across the verbose-helpful report of the
> "units" rcParams entry.  Sure enough, it is in rcsetup.py and in
> matplotlibrc.template, but a quick code scan turned up no evidence that
> it is used anywhere.  Is it vestigial, and a candidate for surgical removal?

James, do you know what the units rc parameter was for, and can it be removed?

Darren

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] What is rcParams['units'] for?

2011-04-19 Thread James Evans
Honestly, I do not know what the units rc param is for.  Personally I try to 
stay away from anything rc parameter related.

I would guess that it was put in to handle default units, but the unit system 
handles defaults based on the type of data being plotted.  Perhaps it was added 
in the first draft of the unit code and never removed when it was revised?

As far as I know, there is no need for it.

--James


> -Original Message-
> From: Darren Dale [mailto:dsdal...@gmail.com]
> Sent: Tuesday, April 19, 2011 4:42 AM
> To: Eric Firing; jreva...@earthlink.net
> Cc: matplotlib development list
> Subject: Re: [matplotlib-devel] What is rcParams['units'] for?
> 
> On Tue, Apr 19, 2011 at 3:07 AM, Eric Firing  wrote:
> > While investigating the imshow problem reported today by Emanuale
> > Passera (a problem that seems to have been fixed, though I don't know
> > when or how), I stumbled across the verbose-helpful report of the
> > "units" rcParams entry.  Sure enough, it is in rcsetup.py and in
> > matplotlibrc.template, but a quick code scan turned up no evidence
> > that it is used anywhere.  Is it vestigial, and a candidate for surgical
> removal?
> 
> James, do you know what the units rc parameter was for, and can it be
> removed?
> 
> Darren
> 
> --
> Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -
> - Increasing the use of server virtualization is a top 
> priority.Virtualization can
> reduce costs, simplify management, and improve application availability and
> disaster protection. Learn more about boosting the value of server
> virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> ___
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] What is rcParams['units'] for?

2011-04-19 Thread Eric Firing
On 04/19/2011 05:03 AM, James Evans wrote:
> Honestly, I do not know what the units rc param is for.  Personally I try to 
> stay away from anything rc parameter related.
>
I'm not an rc fan, either, though the rc system does have its benefits.

> I would guess that it was put in to handle default units, but the unit system 
> handles defaults based on the type of data being plotted.  Perhaps it was 
> added in the first draft of the unit code and never removed when it was 
> revised?
>

It's a boolean.  I suspect that long ago it was for turning experimental 
units support on or off.

> As far as I know, there is no need for it.

I will try removing it.

Eric

>
> --James
>
>
>> -Original Message-
>> From: Darren Dale [mailto:dsdal...@gmail.com]
>> Sent: Tuesday, April 19, 2011 4:42 AM
>> To: Eric Firing; jreva...@earthlink.net
>> Cc: matplotlib development list
>> Subject: Re: [matplotlib-devel] What is rcParams['units'] for?
>>
>> On Tue, Apr 19, 2011 at 3:07 AM, Eric Firing  wrote:
>>> While investigating the imshow problem reported today by Emanuale
>>> Passera (a problem that seems to have been fixed, though I don't know
>>> when or how), I stumbled across the verbose-helpful report of the
>>> "units" rcParams entry.  Sure enough, it is in rcsetup.py and in
>>> matplotlibrc.template, but a quick code scan turned up no evidence
>>> that it is used anywhere.  Is it vestigial, and a candidate for surgical
>> removal?
>>
>> James, do you know what the units rc parameter was for, and can it be
>> removed?
>>
>> Darren
>>
>> --
>> Benefiting from Server Virtualization: Beyond Initial Workload Consolidation 
>> -
>> - Increasing the use of server virtualization is a top 
>> priority.Virtualization can
>> reduce costs, simplify management, and improve application availability and
>> disaster protection. Learn more about boosting the value of server
>> virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
>> ___
>> Matplotlib-devel mailing list
>> Matplotlib-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>


--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] What is rcParams['units'] for?

2011-04-19 Thread John Hunter
On Tue, Apr 19, 2011 at 10:03 AM, James Evans  wrote:
> Honestly, I do not know what the units rc param is for.  Personally I try to 
> stay away from anything rc parameter related.
>
> I would guess that it was put in to handle default units, but the unit system 
> handles defaults based on the type of data being plotted.  Perhaps it was 
> added in the first draft of the unit code and never removed when it was 
> revised?
>
> As far as I know, there is no need for it.

Unfortunately, I can't recall what it was added for either.  As Eric
notes, it doesn't even make it into matplotlibrc.template, which
usually has a definition of the param, and I can't find it used
anywhere in the code base either.

JDH

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] sampledoc tutorial small typos ...

2011-04-19 Thread Sylvain Bellemare
Hi,

 please forgive me if that is not the appropriate mailing list to send this
message.

On the first page of the sampledoc
tutorial,
the second paragraph reads:

"The source code for this tutorial lives in mpl svn (see *Fetching the
data*)
and you can grab a harcopy of the the sampledoc
PDF
"

I assume that the word 'harcopy' should be 'hardcopy', meanwhile 'the
the'
could be replaced by a single 'the' ...

Just thought of letting you know.

Best,
-Sylvain
--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel