8000 Merge pull request #1300 from jenshnielsen/pcolormesh_doc · matplotlib/matplotlib@9115000 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9115000

Browse files
committed
Merge pull request #1300 from jenshnielsen/pcolormesh_doc
Pcolormesh and colorbar documentation.
2 parents 1d6fb7d + 7b83914 commit 9115000

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/matplotlib/axes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7413,11 +7413,13 @@ def pcolormesh(self, *args, **kwargs):
74137413
'gouraud', each quad will be Gouraud shaded. When gouraud
74147414
shading, edgecolors is ignored.
74157415
7416-
*edgecolors*: [ *None* | ``'None'`` | color | color sequence]
7416+
*edgecolors*: [ *None* | ``'None'`` | ``'face'`` | color | color sequence]
74177417
If *None*, the rc setting is used by default.
74187418
74197419
If ``'None'``, edges will not be visible.
74207420
7421+
If ``'face'``, edges will have the same color as the faces.
7422+
74217423
An mpl color or sequence of colors will set the edge color
74227424
74237425
*alpha*: ``0 <= scalar <= 1`` or *None*

lib/mpl_toolkits/axes_grid1/colorbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ def _edges(self, X, Y):
518518

519519
def _add_solids(self, X, Y, C):
520520
'''
521-
Draw the colors using :meth:`~matplotlib.axes.Axes.pcolor`;
521+
Draw the colors using :meth:`~matplotlib.axes.Axes.pcolormesh`;
522522
optionally add separators.
523523
'''
524524
## Change to pcolorfast after fixing bugs in some backends...

0 commit comments

Comments
 (0)
0