From b83b80a97d27532caceaffaba34eff6aafc86273 Mon Sep 17 00:00:00 2001 From: Stanley George Date: Thu, 5 Aug 2021 00:24:47 +0200 Subject: [PATCH] Replaced mpl_style https://pandas.pydata.org/pandas-docs/version/0.17.1/visualization.html --- content/pandas cookbook/chapter1.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/pandas cookbook/chapter1.md b/content/pandas cookbook/chapter1.md index 54a2186..e766e10 100644 --- a/content/pandas cookbook/chapter1.md +++ b/content/pandas cookbook/chapter1.md @@ -27,6 +27,7 @@ import pandas as pd import matplotlib.pyplot as plt pd.set_option('display.mpl_style', 'default') # Make the graphs a bit prettier +#For higher versions of pandas try plt.style.use('ggplot') plt.rcParams['figure.figsize'] = (15, 5) ```