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

Skip to content

Commit 74b09c5

Browse files
committed
Merge pull request matplotlib#2047 from pelson/legend_doc
Fixed typos in legend docs.
2 parents 16be971 + 875c8c3 commit 74b09c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4532,7 +4532,7 @@ def legend(self, *args, **kwargs):
45324532
*scatterpoints*: integer
45334533
The number of points in the legend for scatter plot
45344534
4535-
*scatteroffsets*: list of floats
4535+
*scatteryoffsets*: list of floats
45364536
a list of yoffsets for scatter symbols in legend
45374537
45384538
*markerscale*: [ *None* | scalar ]

lib/matplotlib/figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ def legend(self, handles, labels, *args, **kwargs):
10681068
*scatterpoints*: integer
10691069
The number of points in the legend line, default is 4
10701070
1071-
*scatteroffsets*: list of floats
1071+
*scatteryoffsets*: list of floats
10721072
a list of yoffsets for scatter symbols in legend
10731073
10741074
*markerscale*: [ *None* | scalar ]

0 commit comments

Comments
 (0)