diff --git a/source/rst/heavy_tails.rst b/source/rst/heavy_tails.rst index 01dee999..d5e68e8d 100644 --- a/source/rst/heavy_tails.rst +++ b/source/rst/heavy_tails.rst @@ -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 diff --git a/source/rst/kesten_processes.rst b/source/rst/kesten_processes.rst index 4093ed6d..8d5ed01c 100644 --- a/source/rst/kesten_processes.rst +++ b/source/rst/kesten_processes.rst @@ -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 =================