diff --git a/ci/deps/actions-310.yaml b/ci/deps/actions-310.yaml index 5b9919d8e4c1f..e8ddb7dbe9f71 100644 --- a/ci/deps/actions-310.yaml +++ b/ci/deps/actions-310.yaml @@ -32,7 +32,7 @@ dependencies: - gcsfs - jinja2 - lxml - - matplotlib>=3.6.1, <3.7.0 + - matplotlib>=3.6.1 - numba - numexpr - openpyxl<3.1.1 diff --git a/ci/deps/actions-311.yaml b/ci/deps/actions-311.yaml index ed01238216e9e..1fada5502296e 100644 --- a/ci/deps/actions-311.yaml +++ b/ci/deps/actions-311.yaml @@ -32,7 +32,7 @@ dependencies: - gcsfs - jinja2 - lxml - - matplotlib>=3.6.1, <3.7.0 + - matplotlib>=3.6.1 # - numba not compatible with 3.11 - numexpr - openpyxl<3.1.1 diff --git a/ci/deps/actions-38-downstream_compat.yaml b/ci/deps/actions-38-downstream_compat.yaml index 3c498663c04df..4bce06647f825 100644 --- a/ci/deps/actions-38-downstream_compat.yaml +++ b/ci/deps/actions-38-downstream_compat.yaml @@ -33,7 +33,7 @@ dependencies: - gcsfs - jinja2 - lxml - - matplotlib>=3.6.1, <3.7.0 + - matplotlib>=3.6.1 - numba - numexpr - openpyxl<3.1.1 diff --git a/ci/deps/actions-38.yaml b/ci/deps/actions-38.yaml index 2a968f059952e..e45391295382c 100644 --- a/ci/deps/actions-38.yaml +++ b/ci/deps/actions-38.yaml @@ -32,7 +32,7 @@ dependencies: - gcsfs - jinja2 - lxml - - matplotlib>=3.6.1, <3.7.0 + - matplotlib>=3.6.1 - numba - numexpr - openpyxl<3.1.1 diff --git a/ci/deps/actions-39.yaml b/ci/deps/actions-39.yaml index a1fba778bfc70..ff17e862f4573 100644 --- a/ci/deps/actions-39.yaml +++ b/ci/deps/actions-39.yaml @@ -32,7 +32,7 @@ dependencies: - gcsfs - jinja2 - lxml - - matplotlib>=3.6.1, <3.7.0 + - matplotlib>=3.6.1 - numba - numexpr - openpyxl<3.1.1 diff --git a/ci/deps/circle-38-arm64.yaml b/ci/deps/circle-38-arm64.yaml index 7bc71483be34a..2949ac5656000 100644 --- a/ci/deps/circle-38-arm64.yaml +++ b/ci/deps/circle-38-arm64.yaml @@ -32,7 +32,7 @@ dependencies: - gcsfs - jinja2 - lxml - - matplotlib>=3.6.1, <3.7.0 + - matplotlib>=3.6.1 - numba - numexpr - openpyxl<3.1.1 diff --git a/environment.yml b/environment.yml index 3ecc9763e5953..e6d3e3403408a 100644 --- a/environment.yml +++ b/environment.yml @@ -35,7 +35,7 @@ dependencies: - ipython - jinja2 - lxml - - matplotlib>=3.6.1, <3.7.0 + - matplotlib>=3.6.1 - numba>=0.53.1 - numexpr>=2.8.0 # pin for "Run checks on imported code" job - openpyxl<3.1.1 diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index 51c95808506a8..3cb1cf4ff33ec 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -387,7 +387,7 @@ def hist_frame( >>> boxplot = df.boxplot(column=['Col1', 'Col2'], return_type='axes') >>> type(boxplot) - + When grouping with ``by``, a Series mapping columns to ``return_type`` is returned: diff --git a/pandas/plotting/_misc.py b/pandas/plotting/_misc.py index 0eb6c826e2d4c..77ae2dda092c2 100644 --- a/pandas/plotting/_misc.py +++ b/pandas/plotting/_misc.py @@ -139,22 +139,15 @@ def scatter_matrix( >>> df = pd.DataFrame(np.random.randn(1000, 4), columns=['A','B','C','D']) >>> pd.plotting.scatter_matrix(df, alpha=0.2) - array([[, - , - , - ], - [, - , - , - ], - [, - , - , - ], - [, - , - , - ]], dtype=object) + array([[, , + , ], + [, , + , ], + [, , + , ], + [, , + , ]], + dtype=object) """ plot_backend = _get_plot_backend("matplotlib") return plot_backend.scatter_matrix( @@ -509,7 +502,7 @@ def lag_plot(series: Series, lag: int = 1, ax: Axes | None = None, **kwds) -> Ax :context: close-figs >>> pd.plotting.lag_plot(s, lag=1) - + """ plot_backend = _get_plot_backend("matplotlib") return plot_backend.lag_plot(series=series, lag=lag, ax=ax, **kwds) diff --git a/pandas/tests/plotting/test_series.py b/pandas/tests/plotting/test_series.py index d21c42e3eeaf9..f3cc8448deb63 100644 --- a/pandas/tests/plotting/test_series.py +++ b/pandas/tests/plotting/test_series.py @@ -456,8 +456,8 @@ def test_df_series_secondary_legend(self): ) def test_secondary_logy(self, input_logy, expected_scale): # GH 25545 - s1 = Series(np.random.randn(30)) - s2 = Series(np.random.randn(30)) + s1 = Series(np.random.randn(100)) + s2 = Series(np.random.randn(100)) # GH 24980 ax1 = s1.plot(logy=input_logy) diff --git a/requirements-dev.txt b/requirements-dev.txt index 2d263a07d53f4..aaf05dd417002 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -24,7 +24,7 @@ gcsfs ipython jinja2 lxml -matplotlib>=3.6.1, <3.7.0 +matplotlib>=3.6.1 numba>=0.53.1 numexpr>=2.8.0 openpyxl<3.1.1