Skip to content

Commit 5d18e13

Browse files
authored
CI: unpin numpy and matplotlib pandas-dev#35779 (pandas-dev#35780)
1 parent eec6080 commit 5d18e13

File tree

6 files changed

+9
-8
lines changed

6 files changed

+9
-8
lines changed

doc/source/user_guide/visualization.rst

+2
Original file line numberDiff line numberDiff line change
@@ -668,6 +668,7 @@ A ``ValueError`` will be raised if there are any negative values in your data.
668668
plt.figure()
669669
670670
.. ipython:: python
671+
:okwarning:
671672
672673
series = pd.Series(3 * np.random.rand(4),
673674
index=['a', 'b', 'c', 'd'], name='series')
@@ -742,6 +743,7 @@ If you pass values whose sum total is less than 1.0, matplotlib draws a semicirc
742743
plt.figure()
743744
744745
.. ipython:: python
746+
:okwarning:
745747
746748
series = pd.Series([0.1] * 4, index=['a', 'b', 'c', 'd'], name='series2')
747749

environment.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ channels:
33
- conda-forge
44
dependencies:
55
# required
6-
# Pin numpy<1.19 until MPL 3.3.0 is released.
7-
- numpy>=1.16.5,<1.19.0
6+
- numpy>=1.16.5
87
- python=3
98
- python-dateutil>=2.7.3
109
- pytz
@@ -73,7 +72,7 @@ dependencies:
7372
- ipykernel
7473
- ipython>=7.11.1
7574
- jinja2 # pandas.Styler
76-
- matplotlib>=2.2.2,<3.3.0 # pandas.plotting, Series.plot, DataFrame.plot
75+
- matplotlib>=2.2.2 # pandas.plotting, Series.plot, DataFrame.plot
7776
- numexpr>=2.6.8
7877
- scipy>=1.2
7978
- numba>=0.46.0

pandas/core/frame.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2600,7 +2600,7 @@ def to_html(
26002600
1 column_2 1000000 non-null object
26012601
2 column_3 1000000 non-null object
26022602
dtypes: object(3)
2603-
memory usage: 188.8 MB"""
2603+
memory usage: 165.9 MB"""
26042604
),
26052605
see_also_sub=(
26062606
"""

pandas/core/series.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4637,7 +4637,7 @@ def memory_usage(self, index=True, deep=False):
46374637
>>> s.memory_usage()
46384638
144
46394639
>>> s.memory_usage(deep=True)
4640-
260
4640+
244
46414641
"""
46424642
v = super().memory_usage(deep=deep)
46434643
if index:

pandas/plotting/_matplotlib/boxplot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def maybe_color_bp(bp, **kwds):
294294

295295
def plot_group(keys, values, ax):
296296
keys = [pprint_thing(x) for x in keys]
297-
values = [np.asarray(remove_na_arraylike(v)) for v in values]
297+
values = [np.asarray(remove_na_arraylike(v), dtype=object) for v in values]
298298
bp = ax.boxplot(values, **kwds)
299299
if fontsize is not None:
300300
ax.tick_params(axis="both", labelsize=fontsize)

requirements-dev.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This file is auto-generated from environment.yml, do not modify.
22
# See that file for comments about the need/usage of each dependency.
33

4-
numpy>=1.16.5,<1.19.0
4+
numpy>=1.16.5
55
python-dateutil>=2.7.3
66
pytz
77
asv
@@ -47,7 +47,7 @@ bottleneck>=1.2.1
4747
ipykernel
4848
ipython>=7.11.1
4949
jinja2
50-
matplotlib>=2.2.2,<3.3.0
50+
matplotlib>=2.2.2
5151
numexpr>=2.6.8
5252
scipy>=1.2
5353
numba>=0.46.0

0 commit comments

Comments
 (0)