Skip to content
This repository was archived by the owner on Apr 24, 2020. It is now read-only.

Fix pandas FutureWarning in heavy_tails and kesten_processes (2) #789

Merged
merged 1 commit into from
Nov 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions source/rst/heavy_tails.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ Let's start with some imports:

from scipy.stats import cauchy

The following two lines can be added to avoid an annoying FutureWarning, and prevent a specific compatibility issue between pandas and matplotlib from causing problems down the line:

.. code-block:: ipython

from pandas.plotting import register_matplotlib_converters
register_matplotlib_converters()


Visual Comparisons
Expand Down
7 changes: 7 additions & 0 deletions source/rst/kesten_processes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@ Let's start with some imports:
import matplotlib.pyplot as plt
%matplotlib inline

The following two lines can be added to avoid an annoying FutureWarning, and prevent a specific compatibility issue between pandas and matplotlib from causing problems down the line:

.. code-block:: ipython

from pandas.plotting import register_matplotlib_converters
register_matplotlib_converters()


Kesten Processes
=================
Expand Down