{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# temprary_styling" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": true }, "outputs": [], "source": [ "import numpy as np\n", "import pandas as pd\n", "import matplotlib\n", "import matplotlib.pyplot as plt\n", "\n", "%matplotlib inline\n", "matplotlib.style.use(\"ggplot\")" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/plain": [ "['seaborn-dark',\n", " 'seaborn-talk',\n", " 'classic',\n", " 'seaborn-white',\n", " 'fivethirtyeight',\n", " 'seaborn-ticks',\n", " 'seaborn-colorblind',\n", " 'seaborn-muted',\n", " 'seaborn-notebook',\n", " 'seaborn-dark-palette',\n", " 'seaborn-paper',\n", " 'seaborn-bright',\n", " 'seaborn-darkgrid',\n", " 'seaborn-poster',\n", " 'seaborn-deep',\n", " 'ggplot',\n", " 'dark_background',\n", " 'seaborn-pastel',\n", " 'grayscale',\n", " 'bmh',\n", " 'seaborn-whitegrid']" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "plt.style.available" ] }, { "cell_type": "code", "execution_count": 23, "metadata": { "collapsed": false }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/Users/knt/.pyenv/versions/anaconda3-2.5.0/lib/python3.5/site-packages/ipykernel/__main__.py:3: SettingWithCopyWarning: \n", "A value is trying to be set on a copy of a slice from a DataFrame.\n", "Try using .loc[row_indexer,col_indexer] = value instead\n", "\n", "See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\n", " app.launch_new_instance()\n" ] }, { "data": { "text/html": [ "
\n", " | a | \n", "
---|---|
0 | \n", "0.050696 | \n", "
1 | \n", "NaN | \n", "
2 | \n", "0.388775 | \n", "
3 | \n", "NaN | \n", "
4 | \n", "NaN | \n", "
5 | \n", "0.227569 | \n", "