Skip to content

Commit

Permalink
Removes matplotlib style warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus Magrin committed Oct 26, 2016
1 parent 88313fa commit a49c6b6
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cookbook/Chapter 1 - Reading from a CSV.ipynb

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"import pandas as pd\n",
"import matplotlib.pyplot as plt\n",
"\n",
"pd.set_option('display.mpl_style', 'default') # Make the graphs a bit prettier\n",
"plt.style.use('ggplot') # Make the graphs a bit prettier\n",
"plt.rcParams['figure.figsize'] = (15, 5)\n",
"plt.rcParams['font.family'] = 'sans-serif'\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"\n",
"pd.set_option('display.mpl_style', 'default')\n",
"plt.style.use('ggplot')\n",
"plt.rcParams['figure.figsize'] = (15, 3)\n",
"plt.rcParams['font.family'] = 'sans-serif'"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"\n",
"pd.set_option('display.mpl_style', 'default')\n",
"plt.style.use('ggplot')\n",
"plt.rcParams['figure.figsize'] = (15, 3)\n",
"plt.rcParams['font.family'] = 'sans-serif'"
]
Expand Down
2 changes: 1 addition & 1 deletion cookbook/Chapter 7 - Cleaning up messy data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"import numpy as np\n",
"\n",
"# Make the graphs a bit prettier, and bigger\n",
"pd.set_option('display.mpl_style', 'default')\n",
"plt.style.use('ggplot')\n",
"plt.rcParams['figure.figsize'] = (15, 5)\n",
"plt.rcParams['font.family'] = 'sans-serif'\n",
"\n",
Expand Down

0 comments on commit a49c6b6

Please sign in to comment.