#4884: [with patch; positive review] Make colormap handling better
-------------------------+--------------------------------------------------
 Reporter:  abergeron    |        Owner:  abergeron
     Type:  enhancement  |       Status:  assigned 
 Priority:  major        |    Milestone:  sage-3.4 
Component:  graphics     |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by was):

 > Is this what you want? If not, what do you want?

 I was suggesting not dotting out the output of {{{cmap_help()}}}.  We run
 the test suite before any release, and if the cmap actually does change in
 matplotlib, then we'll know since the relevant doctest will fail.    The
 Sage library and its test suite is designed to work with precisely one
 version of matplotlib -- the one we ship with Sage -- so you don't have to
 worry about making the doctest example work with numerous different
 versions.

 In short, I was suggesting a way that the list of all valid colormaps
 could be safely displayed in the docstrings of the functions that use
 them.  This would avoid having to have a function {{{cmap_help()}}} in the
 global namespace, and means that people can instantly just see the list of
 colormaps instead of having to carefully read the docstring, figure out
 that there is a function cmap_help, then call it, etc., which to some
 would feel like an awkward workflow.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4884#comment:8>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to