File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -6567,7 +6567,7 @@ def min(
6567
6567
Returns
6568
6568
-------
6569
6569
scalar or Series (if level specified)
6570
- The maximum of the values in the Series.
6570
+ The minimum of the values in the Series.
6571
6571
6572
6572
See Also
6573
6573
--------
@@ -6716,7 +6716,7 @@ def sum(
6716
6716
Returns
6717
6717
-------
6718
6718
scalar or Series (if level specified)
6719
- Median of the values for the requested axis.
6719
+ Sum of the values for the requested axis.
6720
6720
6721
6721
See Also
6722
6722
--------
@@ -6826,7 +6826,7 @@ def mean(
6826
6826
Returns
6827
6827
-------
6828
6828
scalar or Series (if level specified)
6829
- Median of the values for the requested axis.
6829
+ Mean of the values for the requested axis.
6830
6830
6831
6831
See Also
6832
6832
--------
Original file line number Diff line number Diff line change @@ -893,7 +893,13 @@ def _make_legend(self) -> None:
893
893
elif self .subplots and self .legend :
894
894
for ax in self .axes :
895
895
if ax .get_visible ():
896
- ax .legend (loc = "best" )
896
+ with warnings .catch_warnings ():
897
+ warnings .filterwarnings (
898
+ "ignore" ,
899
+ "No artists with labels found to put in legend." ,
900
+ UserWarning ,
901
+ )
902
+ ax .legend (loc = "best" )
897
903
898
904
@final
899
905
@staticmethod
You can’t perform that action at this time.
0 commit comments