#4884: Make colormap handling better
-------------------------+--------------------------------------------------
 Reporter:  abergeron    |       Owner:  abergeron
     Type:  enhancement  |      Status:  new      
 Priority:  major        |   Milestone:  sage-3.4 
Component:  graphics     |    Keywords:           
-------------------------+--------------------------------------------------
 The colormap code is currently ad hoc and copied in all GraphicsPrimitive
 subclasses that need it.

 This patch fixes this by introducing a get_cmap() function in
 sage.plot.misc that the graphic primitives can call to make sense of what
 they are passed.

 It also adds the option to specify a sequence of colors and use that as
 the colormap.

 For the documentation I added a cmap_help() function which is imported in
 the global namespace that the docstrings can point to and that will
 explain what are the possible options, the valid names and everything
 since the names change rather often.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4884>
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