You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.0.0.rst
+26
Original file line number
Diff line number
Diff line change
@@ -213,8 +213,13 @@ Other API changes
213
213
- In order to improve tab-completion, Pandas does not include most deprecated attributes when introspecting a pandas object using ``dir`` (e.g. ``dir(df)``).
214
214
To see which attributes are excluded, see an object's ``_deprecations`` attribute, for example ``pd.DataFrame._deprecations`` (:issue:`28805`).
215
215
- The returned dtype of ::func:`pd.unique` now matches the input dtype. (:issue:`27874`)
216
+
- Changed the default configuration value for ``options.matplotlib.register_converters`` from ``True`` to ``"auto"`` (:issue:`18720`).
217
+
Now, pandas custom formatters will only be applied to plots created by pandas, through :meth:`~DataFrame.plot`.
218
+
Previously, pandas' formatters would be applied to all plots created *after* a :meth:`~DataFrame.plot`.
219
+
See :ref:`units registration <whatsnew_1000.matplotlib_units>` for more.
216
220
-
217
221
222
+
218
223
.. _whatsnew_1000.api.documentation:
219
224
220
225
Documentation Improvements
@@ -247,6 +252,27 @@ with migrating existing code.
247
252
Removal of prior version deprecations/changes
248
253
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249
254
255
+
.. _whatsnew_1000.matplotlib_units:
256
+
257
+
**Matplotlib unit registration**
258
+
259
+
Previously, pandas would register converters with matplotlib as a side effect of importing pandas (:issue:`18720`).
260
+
This changed the output of plots made via matplotlib plots after pandas was imported, even if you were using
261
+
matplotlib directly rather than rather than :meth:`~DataFrame.plot`.
262
+
263
+
To use pandas formatters with a matplotlib plot, specify
0 commit comments