Ticket #5640 (closed defect: fixed)
[with patch, positive review] no way to figure out list of colormaps from matrix plot's docstring
| Reported by: | was | Owned by: | kcrisman |
|---|---|---|---|
| Priority: | major | Milestone: | sage-4.1 |
| Component: | graphics | Keywords: | |
| Cc: | Author(s): | Karl-Dieter Crisman | |
| Report Upstream: | Reviewer(s): | Minh Van Nguyen | |
| Merged in: | sage-4.1.alpha2 | Work issues: |
Description
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
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

