From 77442b5ac475c5f75a804e4c54846a1f06daac05 Mon Sep 17 00:00:00 2001 From: sinhrks Date: Sat, 21 Jan 2017 14:28:32 +0900 Subject: [PATCH] addd whatsnew --- doc/source/whatsnew/v0.20.0.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/source/whatsnew/v0.20.0.txt b/doc/source/whatsnew/v0.20.0.txt index 798151971363ea..acfb3e3afac0d3 100644 --- a/doc/source/whatsnew/v0.20.0.txt +++ b/doc/source/whatsnew/v0.20.0.txt @@ -11,6 +11,7 @@ Highlights include: - Building pandas for development now requires ``cython >= 0.23`` (:issue:`14831`) - The ``.ix`` indexer has been deprecated, see :ref:`here ` +- The ``pandas.tools.plotting`` module has been deprecated, moved to ``pandas.plotting``. See :ref:`here ` (:issue:`12548`) Check the :ref:`API Changes ` and :ref:`deprecations ` before updating. @@ -194,6 +195,27 @@ Using ``.iloc``. Here we will get the location of the 'A' column, then use *posi df.iloc[[0, 2], df.columns.get_loc('A')] +.. _whatsnew_0200.api_breaking.deprecate_plotting + +Deprecate .plotting +^^^^^^^^^^^^^^^^^^^ + +``pandas.tools.plotting`` module has been deprecated, moving directory under the +top namespace ``pandas.plotting``. All the public plotting functions should be available +from ``pandas.plotting``. + +Previous script: + +.. code-block:: python + + pd.tools.plotting.scatter_matrix(df) + +Should be changed to: + +.. code-block:: python + + pd.plotting.scatter_matrix(df) + .. _whatsnew_0200.api_breaking.index_map Map on Index types now return other Index types