#5640: no way to figure out list of colormaps from matrix plot's docstring
----------------------+-----------------------------------------------------
Reporter: was | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.4.1
Component: graphics | Keywords:
----------------------+-----------------------------------------------------
This sentence, which is in the help for contour_plot, should also be in
the help for the plot method on matrices:
{{{
cmap -- the name of
a predefined colormap, a list of colors
or an instance of a matplotlib Colormap.
Type: import matplotlib.cm;
matplotlib.cm.datad.keys()
for available colormap names.
}}}
It should also be in the output here too:
{{{
sage: matrix(QQ,1,1).plot(cmap0=0)
verbose 0 (84: primitive.py, options) WARNING: Ignoring option 'cmap0'=0
verbose 0 (84: primitive.py, options)
The allowed options for MatrixPlot defined by a 1 x 1 data grid are:
cmap the name of a predefined colormap,
a list of colors or an instance of a
matplotlib Colormap.
zorder The layer level in which to draw
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5640>
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
-~----------~----~----~----~------~----~------~--~---