SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Inches?

From: Christopher B. <Chr...@no...> - 2007年10月29日 16:28:38
Eric Firing wrote:
> Somewhere along the line, it may make sense to support the metric system 
> better in mpl.
It seems to me that the "right" way to do this is to use some sort of 
"array-with_units" class. Then what MPL would except was a "length", and 
the user would specify what they want. i.e:
figure(figsize = units.inches((8.5,11))
rather than:
figure(figsize = (8.5, 11), units=inches)
Though this does make for more typing. With the later way, a system 
default for units could be used more easily.
I really want a unit class like this for other stuff anyway.
-- just thinking in email....
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...

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 によって変換されたページ (->オリジナル) /