SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Ryan M. <rm...@gm...> - 2009年03月24日 22:03:33
Hi,
Does anyone know if there is a reason that quadmesh objects don't have a
method for setting the geometry of the grid (i.e. the _coordinates
attribute)? If there's not a reason, I'll add one.
Now, this gets to a larger scale matplotlib API question. Should I add this
as a property (either coordinates or verts) which would be pythonic? Or do I
proliferate the use of getter and setter functions which is consistent? Or
do I meet in the middle and use set_* and get_* to implement the property?
Personally, I prefer the first one from purity, but recognize the need for a
consistent API. Looking over the code base right now, it seems pretty
organic, with a variety of all 3 of the approaches I mentioned being taken.
Thoughts?
Ryan
-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
Sent from: Norman Oklahoma United States.
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 によって変換されたページ (->オリジナル) /