Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pcolormesh and colorbar documentation. #1300

Merged
merged 1 commit into from Sep 23, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion lib/matplotlib/axes.py
Expand Up @@ -7413,11 +7413,13 @@ def pcolormesh(self, *args, **kwargs):
'gouraud', each quad will be Gouraud shaded. When gouraud
shading, edgecolors is ignored.

*edgecolors*: [ *None* | ``'None'`` | color | color sequence]
*edgecolors*: [ *None* | ``'None'`` | ``'face'`` | color | color sequence]
If *None*, the rc setting is used by default.

If ``'None'``, edges will not be visible.

If ``'face'``, edges will have the same color as the faces.

An mpl color or sequence of colors will set the edge color

*alpha*: ``0 <= scalar <= 1`` or *None*
Expand Down
2 changes: 1 addition & 1 deletion lib/mpl_toolkits/axes_grid1/colorbar.py
Expand Up @@ -518,7 +518,7 @@ def _edges(self, X, Y):

def _add_solids(self, X, Y, C):
'''
Draw the colors using :meth:`~matplotlib.axes.Axes.pcolor`;
Draw the colors using :meth:`~matplotlib.axes.Axes.pcolormesh`;
optionally add separators.
'''
## Change to pcolorfast after fixing bugs in some backends...
Expand Down