SourceForge logo
SourceForge logo
Menu

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

From: James E. <jre...@ea...> - 2011年04月19日 15:03:48
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:dsd...@gm...]
> Sent: Tuesday, April 19, 2011 4:42 AM
> To: Eric Firing; jre...@ea...
> Cc: matplotlib development list
> Subject: Re: [matplotlib-devel] What is rcParams['units'] for?
> 
> On Tue, Apr 19, 2011 at 3:07 AM, Eric Firing <ef...@ha...> 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
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /