Skip to content

Commit f99424e

Browse files
author
Moritz Schreiber
committed
add release notes
1 parent f7b833c commit f99424e

File tree

2 files changed

+66
-8
lines changed

2 files changed

+66
-8
lines changed

doc/source/whatsnew/v1.4.1.rst

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
.. _whatsnew_141:
2+
3+
What's new in 1.4.1 (February ??, 2022)
4+
---------------------------------------
5+
6+
These are the changes in pandas 1.4.1. See :ref:`release` for a full changelog
7+
including other versions of pandas.
8+
9+
{{ header }}
10+
11+
.. ---------------------------------------------------------------------------
12+
13+
.. _whatsnew_141.regressions:
14+
15+
Fixed regressions
16+
~~~~~~~~~~~~~~~~~
17+
- Regression in :meth:`Series.mask` with ``inplace=True`` and ``PeriodDtype`` and an incompatible ``other`` coercing to a common dtype instead of raising (:issue:`45546`)
18+
- Regression in :meth:`DataFrame.loc.__setitem__` losing :class:`Index` name if :class:`DataFrame` was empty before (:issue:`45621`)
19+
-
20+
21+
.. ---------------------------------------------------------------------------
22+
23+
.. _whatsnew_141.bug_fixes:
24+
25+
Bug fixes
26+
~~~~~~~~~
27+
- Fixed segfault in :meth:``DataFrame.to_json`` when dumping tz-aware datetimes in Python 3.10 (:issue:`42130`)
28+
-
29+
30+
.. ---------------------------------------------------------------------------
31+
32+
.. _whatsnew_141.plotting:
33+
34+
Plotting
35+
^^^^^^^^
36+
- The function :meth:`DataFrame.scatter` now accepts ``color`` as an alias for ``c`` and ``size`` as an alias for ``s`` for consistency to other plotting functions (:issue:`44670`, :issue:`44856`)
37+
-
38+
39+
.. ---------------------------------------------------------------------------
40+
41+
.. _whatsnew_141.other:
42+
43+
44+
Other
45+
~~~~~
46+
- Reverted performance speedup of :meth:`DataFrame.corr` for ``method=pearson`` to fix precision regression (:issue:`45640`, :issue:`42761`)
47+
-
48+
49+
.. ---------------------------------------------------------------------------
50+
51+
.. _whatsnew_141.contributors:
52+
53+
Contributors
54+
~~~~~~~~~~~~
55+
56+
.. contributors:: v1.4.0..v1.4.1|HEAD

pandas/plotting/_core.py

+10-8
Original file line numberDiff line numberDiff line change
@@ -1614,6 +1614,11 @@ def scatter(self, x, y, s=None, c=None, **kwargs):
16141614
16151615
.. versionchanged:: 1.1.0
16161616
1617+
size : str, int or array-like, optional
1618+
The color of each point. Alias for `s`.
1619+
`s` and `size` aren't allowed at the same time.
1620+
.. versionadded:: 1.4.1
1621+
16171622
c : str, int or array-like, optional
16181623
The color of each point. Possible values are:
16191624
@@ -1628,15 +1633,12 @@ def scatter(self, x, y, s=None, c=None, **kwargs):
16281633
- A column name or position whose values will be used to color the
16291634
marker points according to a colormap.
16301635
1636+
color : str, int or array-like, optional
1637+
The color of each point. Alias for `c`.
1638+
`c` and `color` aren't allowed at the same time.
1639+
.. versionadded:: 1.4.1
1640+
16311641
**kwargs
1632-
size : str, int or array-like, optional
1633-
The color of each point. Alias for `s`.
1634-
`s` and `size` aren't allowed at the same time.
1635-
.. versionadded:: 1.4.1
1636-
color : str, int or array-like, optional
1637-
The color of each point. Alias for `c`.
1638-
`c` and `color` aren't allowed at the same time.
1639-
.. versionadded:: 1.4.1
16401642
Keyword arguments to pass on to :meth:`DataFrame.plot`.
16411643
16421644
Returns

0 commit comments

Comments
 (0)