Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5c2af02

Browse files
committed
Address comments in PR #1108.
1 parent 0807d24 commit 5c2af02

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

lib/matplotlib/axes.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4432,7 +4432,8 @@ def legend(self, *args, **kwargs):
44324432
instance. If *prop* is a dictionary, a new instance will be
44334433
created with *prop*. If *None*, use rc settings.
44344434
4435-
*fontsize*: [ size in points | 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' ]
4435+
*fontsize*: [ size in points | 'xx-small' | 'x-small' |
4436+
'small' | 'medium' | 'large' | 'x-large' | 'xx-large' ]
44364437
Set the font size. May be either a size string, relative to
44374438
the default font size, or an absolute font size in points. This
44384439
argument is only used if prop is not specified.
@@ -8124,7 +8125,7 @@ def hist2d(self, x, y, bins = 10, range=None, normed=False, weights=None,
81248125
Make a 2d histogram plot of *x* versus *y*, where *x*,
81258126
*y* are 1-D sequences of the same length.
81268127
8127-
The return value is `(counts, xedges, yedges, Image)`.
8128+
The return value is ``(counts, xedges, yedges, Image)``.
81288129
81298130
Optional keyword arguments:
81308131
*bins*: [None | int | [int, int] | array_like | [array, array]]

lib/matplotlib/stackplot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ def stackplot(axes, x, *args, **kwargs):
2121
1xN. The data is assumed to be unstacked. Each of the following
2222
calls is legal::
2323
24-
stackplot(x, y) # where y is MxN
25-
staclplot(x, y1, y2, y3, y4) # where y1, y2, y3, y4, are all 1xNm
24+
stackplot(x, y) # where y is MxN
25+
stackplot(x, y1, y2, y3, y4) # where y1, y2, y3, y4, are all 1xNm
2626
2727
Keyword arguments:
2828

0 commit comments

Comments
 (0)