You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
673 lines
1.1 MiB
673 lines
1.1 MiB
2 years ago
|
{
|
||
|
"cells": [
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"___\n",
|
||
|
"\n",
|
||
|
"<a href='http://www.pieriandata.com'><img src='../Pierian_Data_Logo.png'/></a>\n",
|
||
|
"___\n",
|
||
|
"<center><em>Copyright by Pierian Data Inc.</em></center>\n",
|
||
|
"<center><em>For more information, visit us at <a href='http://www.pieriandata.com'>www.pieriandata.com</a></em></center>"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"# Scatter Plots\n",
|
||
|
"\n",
|
||
|
"Scatter plots can show how different features are related to one another, the main theme between all relational plot types is they display how features are interconnected to each other. There are many different types of plots that can be used to show this, so let's explore the scatterplot() as well as general seaborn parameters applicable to other plot types."
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"----\n",
|
||
|
"## Data\n",
|
||
|
"\n",
|
||
|
"We'll use some generated data from: http://roycekimmons.com/tools/generated_data\n",
|
||
|
"\n"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 1,
|
||
|
"metadata": {},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"import pandas as pd\n",
|
||
|
"import seaborn as sns"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 3,
|
||
|
"metadata": {},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"df = pd.read_csv(\"dm_office_sales.csv\")"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 4,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/html": [
|
||
|
"<div>\n",
|
||
|
"<style scoped>\n",
|
||
|
" .dataframe tbody tr th:only-of-type {\n",
|
||
|
" vertical-align: middle;\n",
|
||
|
" }\n",
|
||
|
"\n",
|
||
|
" .dataframe tbody tr th {\n",
|
||
|
" vertical-align: top;\n",
|
||
|
" }\n",
|
||
|
"\n",
|
||
|
" .dataframe thead th {\n",
|
||
|
" text-align: right;\n",
|
||
|
" }\n",
|
||
|
"</style>\n",
|
||
|
"<table border=\"1\" class=\"dataframe\">\n",
|
||
|
" <thead>\n",
|
||
|
" <tr style=\"text-align: right;\">\n",
|
||
|
" <th></th>\n",
|
||
|
" <th>division</th>\n",
|
||
|
" <th>level of education</th>\n",
|
||
|
" <th>training level</th>\n",
|
||
|
" <th>work experience</th>\n",
|
||
|
" <th>salary</th>\n",
|
||
|
" <th>sales</th>\n",
|
||
|
" </tr>\n",
|
||
|
" </thead>\n",
|
||
|
" <tbody>\n",
|
||
|
" <tr>\n",
|
||
|
" <th>0</th>\n",
|
||
|
" <td>printers</td>\n",
|
||
|
" <td>some college</td>\n",
|
||
|
" <td>2</td>\n",
|
||
|
" <td>6</td>\n",
|
||
|
" <td>91684</td>\n",
|
||
|
" <td>372302</td>\n",
|
||
|
" </tr>\n",
|
||
|
" <tr>\n",
|
||
|
" <th>1</th>\n",
|
||
|
" <td>printers</td>\n",
|
||
|
" <td>associate's degree</td>\n",
|
||
|
" <td>2</td>\n",
|
||
|
" <td>10</td>\n",
|
||
|
" <td>119679</td>\n",
|
||
|
" <td>495660</td>\n",
|
||
|
" </tr>\n",
|
||
|
" <tr>\n",
|
||
|
" <th>2</th>\n",
|
||
|
" <td>peripherals</td>\n",
|
||
|
" <td>high school</td>\n",
|
||
|
" <td>0</td>\n",
|
||
|
" <td>9</td>\n",
|
||
|
" <td>82045</td>\n",
|
||
|
" <td>320453</td>\n",
|
||
|
" </tr>\n",
|
||
|
" <tr>\n",
|
||
|
" <th>3</th>\n",
|
||
|
" <td>office supplies</td>\n",
|
||
|
" <td>associate's degree</td>\n",
|
||
|
" <td>2</td>\n",
|
||
|
" <td>5</td>\n",
|
||
|
" <td>92949</td>\n",
|
||
|
" <td>377148</td>\n",
|
||
|
" </tr>\n",
|
||
|
" <tr>\n",
|
||
|
" <th>4</th>\n",
|
||
|
" <td>office supplies</td>\n",
|
||
|
" <td>high school</td>\n",
|
||
|
" <td>1</td>\n",
|
||
|
" <td>5</td>\n",
|
||
|
" <td>71280</td>\n",
|
||
|
" <td>312802</td>\n",
|
||
|
" </tr>\n",
|
||
|
" </tbody>\n",
|
||
|
"</table>\n",
|
||
|
"</div>"
|
||
|
],
|
||
|
"text/plain": [
|
||
|
" division level of education training level work experience \\\n",
|
||
|
"0 printers some college 2 6 \n",
|
||
|
"1 printers associate's degree 2 10 \n",
|
||
|
"2 peripherals high school 0 9 \n",
|
||
|
"3 office supplies associate's degree 2 5 \n",
|
||
|
"4 office supplies high school 1 5 \n",
|
||
|
"\n",
|
||
|
" salary sales \n",
|
||
|
"0 91684 372302 \n",
|
||
|
"1 119679 495660 \n",
|
||
|
"2 82045 320453 \n",
|
||
|
"3 92949 377148 \n",
|
||
|
"4 71280 312802 "
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 4,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"df.head()"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 5,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "stdout",
|
||
|
"output_type": "stream",
|
||
|
"text": [
|
||
|
"<class 'pandas.core.frame.DataFrame'>\n",
|
||
|
"RangeIndex: 1000 entries, 0 to 999\n",
|
||
|
"Data columns (total 6 columns):\n",
|
||
|
" # Column Non-Null Count Dtype \n",
|
||
|
"--- ------ -------------- ----- \n",
|
||
|
" 0 division 1000 non-null object\n",
|
||
|
" 1 level of education 1000 non-null object\n",
|
||
|
" 2 training level 1000 non-null int64 \n",
|
||
|
" 3 work experience 1000 non-null int64 \n",
|
||
|
" 4 salary 1000 non-null int64 \n",
|
||
|
" 5 sales 1000 non-null int64 \n",
|
||
|
"dtypes: int64(4), object(2)\n",
|
||
|
"memory usage: 47.0+ KB\n"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"df.info()"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"-----"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"# Scatterplot"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 6,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"<matplotlib.axes._subplots.AxesSubplot at 0x2089e370088>"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 6,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAZ0AAAEGCAYAAAC+fkgiAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nOyde3hU1bn/P2uumUwCCSFBJEEQEU0xCEGuPS2WFlGpVAOo3ARUQK22VgV7emhtqT0gWI8cuQS0IAgKgh75YREtip6DghooVAMICJpwSwhJyGUyt71+f8zszUxmTwhowm19nidPMmv2LUHXO+/t+wopJQqFQqFQNAeWc/0ACoVCobh0UEZHoVAoFM2GMjoKhUKhaDaU0VEoFApFs6GMjkKhUCiaDdu5fo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K9/77PJ2ejeV4rLrsqfmwklg6NQKE6Lno9JT3KSPyaXZ4d342hlHRWe08vXHD1ZF5PLmbpmJ0/d1vW0RstiEQQ1DIOjn/99NWHqIbwKj1+VPzcTyugoFIrT4gsE6XdlGs+O6Eaa20GFx8+rn37DkYq6GNWB+uoEhyvMFaCllFgs4rTyOQ3lgr6r7pmeC1pTUMTMvGjttvwxseXZiu+OCq8pFIrT4nJYGd33Csb+7dOoENnzG7/i6dtzosJa9avU6vxB04IAIQSBgMbe0uoG8zbxCgqCmjTGGmSmusgfnUvblARSXI3PNekhvKdvz0EgWX5fb0qrvJTV+Hj+H1/x6M+6nJUCtiI+ytNRKBSnJaBJHly+LSZElpebFZP3iPRM4ilAPzu8G0+t/YLDlR7D4Dx+UxemvfU
|
||
|
"text/plain": [
|
||
|
"<Figure size 432x288 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"sns.scatterplot(x='salary',y='sales',data=df)"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"## Connecting to Figure in Matplotlib"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"**Note how matplotlib is still connected to seaborn underneath (even without importing matplotlib.pyplot), since seaborn itself is directly making a Figure call with matplotlib. We can import matplotlib.pyplot and make calls to directly effect the seaborn figure.**"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 7,
|
||
|
"metadata": {},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"import matplotlib.pyplot as plt"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 8,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"<matplotlib.axes._subplots.AxesSubplot at 0x2089fb16a08>"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 8,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "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wYZ9aD3tSnhfhnnSw1IWIiKiIUqdmc7EYsrBlMmYTAK1o0uxa9Us9Pr8aXt4yEXpjtG3ErtWzTLceTRfS4wo9zhjTkRENESFz0wD6V1MOdgyGZNJoKrUjmKbRRufaqAPD7ko3RnItxL5WmJEuZfRYC6EKBdCvCCE+IsQ4kMhxAwhxEghxOtCiMOh3ytC5wohxHohxMdCiENCiClh11kWOv+wEGJZ2PEGIcT/hF6zXgghQsd170FERJTv0lniED4zvW/1HOxaNStts7LpKpNJ58NDLvqgh9fLqxI9WLBfOxnJ9Iz5zwC8KqX8PIBJAD4E8H0Ae6SUEwDsCf0dAK4DMCH0awWAJ4BgyAbwIIBpAK4E8GBY0H4idK76umtDx43uQURElLcGWq8cjzozfXFFcVoXUw4kkBqNL10PD+kaUyoG8mCRi3FSYRBSZmaxgRBiBID3AXxGht1ECNEKYLaU8qQQYiyAvVLKWiHEptCffx1+nvpLStkYOr4JwN7QrzdCoR9CiG+p5xndI954p06dKg8cOJC+D4CIiChFHS4vFmzYF1MTHq9eOVfysU46V2PS28U03v3y8bOj7BFCNEspp+r9LJOLPz8DoAPAM0KISQCaAXwXwGgp5UkACAXn6tD5FwM4Fvb6ttCxeMfbdI4jzj2IiIjyViGVOITPdCcbSIfqmNRvJYDkQno+fnaUHzIZzC0ApgD4Rynl20KInyF+SYnev0Y5gONJE0KsQLAUBpdcckkqLyUiIkq7THZRyYTwQJovcjmmVGbC8/Gzo9zLZI15G4A2KeXbob+/gGBQPx0qL0Ho9/aw88eFvb4GwIkEx2t0jiPOPSJIKZ+UUk6VUk6tqqoa0JskIiJKl0x2USkUhdzfm91WaLAyNmMupTwlhDgmhKiVUrYCuApAS+jXMgAPh35/KfSSlwHcI4T4DYI
|
||
|
"text/plain": [
|
||
|
"<Figure size 864x576 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"plt.figure(figsize=(12,8))\n",
|
||
|
"sns.scatterplot(x='salary',y='sales',data=df)"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"## Seaborn Parameters\n",
|
||
|
"\n",
|
||
|
"The hue and palette parameters are commonly available around many plot calls in seaborn.\n",
|
||
|
"\n",
|
||
|
"### hue\n",
|
||
|
"\n",
|
||
|
"Color points based off a categorical feature in the DataFrame"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 9,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"<matplotlib.axes._subplots.AxesSubplot at 0x2089fb0fe88>"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 9,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAuYAAAHgCAYAAADpKKjTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nOzdd3xUVdrA8d+dkpl0EkLoElBKSEhCIPRQjASkWkBWQeFl7b66FlxUVhRWX8vyWRQbKgqoqCAK2EU6KC2BgEDohF7S+yRTzvvHJAMhCRAyIQGe7+czHzLPPffcc8fs5snJc8/RlFIIIYQQQgghapeutgcghBBCCCGEkMRcCCGEEEKIOkEScyGEEEIIIeoAScyFEEIIIYSoAyQxF0IIIYQQog6QxFwIIYQQQog6wFDbA6grgoKCVEhISG0PQwghhBBCXMMSExPTlFINKjomiXmJkJAQEhISansYQgghhBDiGqZp2uHKjkkpixBCCCGEEHWAJOZCCCGEEELUAZKYCyG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lMmEwmgoODOX36NMuXLycxMZGYmBgACgsLCQ4OBkCv13PnnXe6+l25ciVvvvkmBQUFZGRkEBYWxtChQ13H/fz8MJvN3H///QwePJghQ4ZU6zMRQgghhLjWSGLuLtnHqhavAk3Tyrz39fUlLCyM9evXV9je29v7kvsqfW8ymVwxvV6PzWZDKcXYsWN57bXXyvVjNptddeUWi4VHH32UhIQEmjdvzssvv4zFYin
|
||
|
"text/plain": [
|
||
|
"<Figure size 864x576 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"plt.figure(figsize=(12,8))\n",
|
||
|
"sns.scatterplot(x='salary',y='sales',data=df,hue='division')"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 10,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"<matplotlib.axes._subplots.AxesSubplot at 0x2089fc3d848>"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 10,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAuYAAAHgCAYAAADpKKjTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nOzdd3jW1f3/8efn3tk7rDBlg4AMWQICBRHrBq1iHWitddRqrdpfW1eHtrXVOuqs62uLe6AoggNFBdlLlBEQCDNk37mTe57fH7m5JSQgkDskwOtxXbnI/c75nHMSvPB9n5zzPpYxBhERERERaVq2pp6AiIiIiIgoMRcRERERaRaUmIuIiIiIN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z00EMsXLiQU089lZycHACmTJnCZ599xjnnnIPdbuf888+v1d/ZZ5/NrbfeypQpU+qMNX/+fFavXs3w4cMBCAQCDB06FIBx48bx6quvct1117F8+fLYMzabjQsvvBCASy65hPPOOw+v18uXX37J5MmTY+38fn/s88mTJ2O32+uM/+GHH7J69erY6/LycioqKgA444wzcLvduN1ucnNz2blzJx9//DGTJk0iOzsbgMzMzAP2k5KS8oM/bxEREZGmpMS8GXM6nXTo0IFnn32WYcOG0adPHz755BPy8/Pp0aMHa9eu3e+zHo+nTgI8fPhw3n//fS6++OI61UmMMYwbN45p06bV6SsSifDNN9+QkJBAcXExeXl59Y5pWRaRSIT09HSWLVtWb5ukpKR645FIhHnz5pGQkFDna263O/a53W4nFAphjKm3wsqB+hERERFpzrTHvJkbOXIk999/PyNHjmTEiBE8/vjj9OvXD8uyGDx4MJ9++im7d+8mHA4zbdo0Ro0atd++7rnnHrKysrj22mvrfG3IkCF88cUXrF+/HgCfzxdL/B944AF69OjBtGnTmDp1KsFgEKhJgl977TUA/ve//3HKKaeQmppKx44defXVV4GahH/vVfb9GT9+PI888kjs9f4S+z3Gjh3LK6+8QlFREQDFxcWH1Y+IiIhIc6HEvJkbMWIE27dvZ+jQobRo0QKPx8OIESMAaNWqFffeey+jR4+mb9++9O/fn7PPPvuA/T344INUV1dz66231orn5OTw3HPPcdFFF9GnTx+GDBnCt99+y9q1a3n66af5xz/+wYgRIxg5ciR/+tOfgJrV76+//poBAwbw8ccfc8cddwDw3//+l//85z/07duXXr168fbbb//g9/nQQw+xaNEi+vTpQ8+ePXn88ccP2L5Xr1787ne/Y9SoUfTt25ebb775sPoRERGR40s4HKZ4dwnFu0uaXeU6q2YPugwcONAsWrSoVuybb76hR48eTTSj5i85ORmv19vU0zhk+nsVERE5PlWUefn846949tFp2Gw2pt5wMUNHDSQlNfmIzcGyrMXGmIH1fU0r5iIiIiJyXPgufwt/vv0Btm3ZQcGmbdxzy/0UfLetqacVo8RcDtvRuFouIiIix6/33vywT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jBzW474cffpgpU6YQCATo1KkTzz77bIP7FBEREZHmRYl5nOypvhLvqiwA/fr1Y9GiRQ3uR0RERESaLyXmcZTbp3NcEnEREREROf5oj7mIiIiISDPQaIm5ZVndLMtattdHuWVZv7IsK9OyrNmWZa2L/pkRbW9ZlvWQZVnrLctaYVlW/736uizafp1lWZftFR9gWdbK6DMPWZZlReP1jiEiIiIi0lw1WmJujFljjOlnjOkHDAB8wJvA7cBHxpguwEfR1wCnA12iH1cDj0FNkg3cCQwGTgbu3CvRfizads9zE6Lx/Y0hIiIiItI
|
||
|
"text/plain": [
|
||
|
"<Figure size 864x576 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"plt.figure(figsize=(12,8))\n",
|
||
|
"sns.scatterplot(x='salary',y='sales',data=df,hue='work experience')"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"**Choosing a palette from Matplotlib's cmap: https://matplotlib.org/tutorials/colors/colormaps.html**"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 11,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"<matplotlib.axes._subplots.AxesSubplot at 0x2089fcbbdc8>"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 11,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAuYAAAHgCAYAAADpKKjTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nOzdd3zW1fn/8de5d+7sRQDDlI2CLAERBC3gqDipA+usq9raWqv9tv3W0WX761ctbZ2tW7FqpVq3olIUBEFRkT0lzAwy7tzJPc/vj9xEQkIYuUMCvJ995JHcV87nnENoy3WfnHMdY61FRERERETalqOtJyAiIiIiIkrMRURERETaBSXmIiIiIiLtgBJzEREREZF2QIm5iIiIiEg7oMRcRERERKQdcLX1BNqLvLw8271797aehoiIiIgcxhYtWlRirc1v6ntKzBO6d+/OwoUL23oaIiIiInIYM8Zs2NP3tJVFRERERKQdUGIuIiIiItIOKDEXEREREWkHtMe8GZFIhKKiImpra9t6KpIkPp+PwsJC3G53W09FREREpAEl5s0oKioiPT2d7t27Y4xp6+lIC1lrKS0tpaioiB49erT1dEREREQa0FaWZtTW1pKbm6uk/DBhjCE3N1e/AREREZF2SYn5XigpP7zo71NERETaKyXmR4ju3btTUlLS1tNo4JVXXuHuu+9u62mIiIiItAvaY34EiMVibT2FRqLRKFOmTGHKlCltPRURERGRdkEr5u3YH//4R6ZPnw7Aj3/8Y04++WQAZs2axSWXXALAjBkzOPbYYznmmGO47bbb6p9NS0vjV7/6FSNHjmTevHn18ZqaGk499VQeeeSRRuO9/fbbjB49mqFDhzJ16lQCgQAVFRX07duXFStWAHDRRRfVP5uWlsZPfvIThg4dyimnnEJxcTEAa9as4dRTT2XYsGGMHTuW5cuXA3D55Zdz8803M2HCBG677TYef/xxbrzxRgCKi4s577zzGDFiBCNGjOCjjz4C4I477uDKK69k/Pjx9OzZs/7nAfDkk08yaNAgBg8ezHe/+91m+xERERFp96y1+rCWYcOG2d0tXbq0Uexgmjdvnj3//POttdaeeOKJdsSIETYcDts77rjDPvjgg3bTpk22S5cudvv27TYSidgJEybYmTNnWmutBew///nP+r66detm161bZ0855RT7xBNPNBqruLjYjh071gYCAWuttXfffbe98847rbXWvv3223bUqFF2xowZdvLkyfXPAPbpp5+21lp755132htuuMFaa+3JJ59sV65caa219uOPP7YTJkyw1lp72WWX2TPOOMNGo1FrrbWPPfZY/TMXXXSRnTNnjrXW2g0bNth+/fpZa629/fbb7ejRo21tba0tLi62OTk5NhwO2yVLltg+ffrY4uJia621paWlzfazq7b+exUREZEjF7DQ7iEf1VaWdmzYsGEsWrSIqqoqvF4vQ4cOZeHChcyZM4fp06fzySefMH78ePLz8wGYNm0a//3vfzn77LNxOp2cd955Dfo766yzuPXWW5k2bVqjsT7++GOWLl3KmDFjAAiHw4wePRqAiRMn8sILL3DDDTfw+eef1z/jcDi44IILALjkkks499xzCQQCzJ07l6lTp9a3C4VC9V9PnToVp9PZaPx3332XpUuX1r+urKykqqoKgDPOOAOv14vX66VDhw5s27aN9957j/PPP5+8vDwAcnJymu0nPT19rz9vERERkbakxLwdc7vddO/enccee4wTTjiBQYMG8f7777NmzRr69+/PypUr9/isz+drlACPGTOGN954g4svvrhRdRJrLRMnTmTGjBmN+orH4yxbtoyUlBTKysooLCxsckxjDPF4nKysLBYvXtxkm9TU1Cbj8XicefPmkZKS0uh7Xq+3/mun00k0GsVa22SFleb6EREREWnPtMe8nRs3bhx/+tOfGDduHGPHjuXBBx/kuOOOwxjDyJEjmT17NiUlJcRiMWbMmMFJJ520x77uuusucnNz+f73v9/oe6NGjeKjjz5i9erVAASDwfrE/95776V///7MmDGDK6+8kkgkAtQlwS+++CIAzz77LCeeeCIZGRn06NGDF154AahL+HddZd+TSZMm8de//rX+9Z4S+51OOeUUnn/+eUpLSwEoKys7oH5ERERE2gsl5u3c2LFj2bJlC6NHj6agoACfz8fYsWMB6NSpE7///e+ZMGECgwcPZujQoZx11lnN9nffffdRW1vLrbfe2iCen5/P448/zkUXXcSgQYMYNWoUy5cvZ+XKlfz973/n//7v/xg7dizjxo3jN7/5DVC3+v3VV18xbNgw3nvvPX71q18B8Mwzz/CPf/yDwYMHM3DgQF5++eW9/jmnT5/OwoULGTRoEAMGDODBBx9stv3AgQP5xS9+wUknncTgwYO5+eabD6gfERERObJYGyMaKyYaK8ba9lW5ztTtQZfhw4fbhQsXNogtW7aM/v37t9GM2r+0tDQCgUBbT2O/6e9VRETkyBSLlROoeZvSynvBOMjNuIW0lJNxOjIP2hyMMYustcOb+p5WzEVERETkiBCKrmLrjh8RiW0gEl3H1rIbCEfWtfW06ikxlwN2KK6Wi4iIyJGrsvr5xrHgS20wk6YpMRcRERGRI4LPfWwTsWPaYCZNU2IuIiIiIkeENP9peN2D6l/7PMNITZnQhjNqSHXMRUREROSI4HLmU5j/NLF4OQBORzYuZ24bz+obSsxFRERE5Ijhcubhcua19TSapK0s7dybb75J37596dWrF3fffXdbT0dEREREWokS83YsFotxww038MYbb7B06VJmzJjB0qVL23paIiIiItIKlJgn0axn5zCt+/VMcn6Had2vZ9azc1rU34IFC+jVqxc9e/bE4/Fw4YUX7tMtmiIiIiJy6FFiniSznp3Dvdc8yPavS7DWsv3rEu695sEWJeebNm2iS5cu9a8LCwvZtGlTMqYrIiIiIu2MEvMkefTnzxIKhhvEQsEwj/782QPu01rbKGaMOeD+RERERKT9UmKeJMUbS/crvi8KCwvZuHFj/euioiI6d+58wP2JiIiISPulxDxJ8rs0XQNzT/F9MWLECFatWsW6desIh8M899xzTJky5YD7ExEREZH2S4l5klz5u4vx+j0NYl6/hyt/d/EB9+lyufjrX//K5MmT6d+/P9/5zncYOHBgS6cqIiIiIu2QLhhKklMuHgvU7TUv3lhKfpdcrvzdxfXxA3X66adz+umnJ2OKIiIiItKOKTFPolMuHtviRFxEREREjkzayiIiIiIi0g4oMRcRERERaQeUmIuIiIiItANKzEVERERE2gEl5iIiIiIi7YAS80NAeXk5559/Pv369aN///7MmzevrackIiIiIkmmcomHgJtuuolTTz2VF198kXA4TDAYbOspiYiIiEiSKTFPotcWLePPb3zE1h1VdMxO56bTxnDGsP4t6rOyspL//ve/PP744wB4PB48Hk/zD4mIiIjIIUdbWZLktUXLuOOFd9myowoLbNlRxR0vvMtri5a1qN+1a9eSn5/PFVdcwZAhQ/je975HdXV1ciYtIiIiIu2GEvMk+fMbH1EbiTaI1Uai/PmNj1rUbzQa5dNPP+X666/ns88+IzU1lbvvvrtFfYqIiIhI+6PEPEm27qjar/i+KiwspLCwkJEjRwJw/vnn8+mnn7aoTxERERFpf5SYJ0nH7PT9iu9zvx070qVLF1asWAHArFmzGDBgQIv6FBEREZH2R4l5ktx02hh87oZnaX1uFzedNqbFff/lL39h2rRpDBo0iMWLF/Pzn/+8xX2KiIiISPuiqixJsrP6SrKrsgAcd9xxLFy4sMX9iIiIiEj7pcQ8ic4Y1j8pibiIiIiIHHm0lUVEREREpB1otcTcGNPXGLN4l49KY8yPjDE5xph3jDGrEp+zE+2NMWa6MWa1MeYLY8zQXfq6LNF+lTHmsl3iw4wxXyaemW6MMYl4k2OIiIiIiLRXrZaYW2tXWGuPs9YeBwwDgsBM4GfALGttb2BW4jXAaUDvxMc1wANQl2QDtwMjgeO
|
||
|
"text/plain": [
|
||
|
"<Figure size 864x576 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"plt.figure(figsize=(12,8))\n",
|
||
|
"sns.scatterplot(x='salary',y='sales',data=df,hue='work experience',palette='viridis')"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"## Scatterplot Parameters\n",
|
||
|
"\n",
|
||
|
"These parameters are more specific to the scatterplot() call\n",
|
||
|
"\n",
|
||
|
"### size\n",
|
||
|
"\n",
|
||
|
"Allows you to size based on another column "
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 12,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"<matplotlib.axes._subplots.AxesSubplot at 0x2089fcb7188>"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 12,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAuYAAAHgCAYAAADpKKjTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nOzdd5hU5dn48e+ZPruzvQBbYOksIL1Kk6agsWsUNYBoiN1oEpOY96fRJGpMscS8tkSKBdsbaxQLiiJFWHrvbXeB7WV2+szz+2OHcZedXWB3lh2W+3Nde8Hc55znPLPEK/c8c5/70ZRSCCGEEEIIIdqWrq0nIIQQQgghhJDEXAghhBBCiKggibkQQgghhBBRQBJzIYQQQgghooAk5kIIIYQQQkQBScyFEEIIIYSIAoa2nkC0SE1NVTk5OW09DSGEEEII0Y6tXbu2RCmVFu6YJOZBOTk55OXltfU0hBBCCCFEO6Zp2sHGjkkpixBCCCGEEFFAEnMhhBBCCCGigCTmQgghhBBCRAGpMW+C1+slPz8fl8vV1lMREWKxWMjKysJoNLb1VIQQQggh6pHEvAn5+fnExcWRk5ODpmltPR3RQkopSktLyc/Pp2vXrm09HSGEEEKIeqSUpQkul4uUlBRJytsJTdNISUmRb0CEEEIIEZUkMT8JScrbF/n3FEIIIUS0ksT8HJGTk0NJSUlbT6OeDz/8kCeeeKKtpyGEEEIIERWkxvwc4Pf723oKDfh8Pi677DIuu+yytp6KEEIIIURUkBXzKPbkk0/y7LPPAnDfffcxadIkAJYsWcJNN90EwKJFizjvvPPo378/v/71r0PX2mw2HnroIUaOHMnKlStDcafTybRp03j55Zcb3O/zzz9n9OjRDBkyhGuvvRa73U5lZSW9e/dm586dAMyYMSN0rc1m4xe/+AVDhgxh8uTJFBcXA7B3716mTZvG0KFDGTduHDt27ABg9uzZ3H///UycOJFf//r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Lw4cOh1/n5+WRkZDR7PCGEEEIIEb0kMY+QxMRETCZTvZjJZCIpKanZYw4fPpzdu3ezf/9+PB4Pb775JpdddllLpyqEEEIIIaKQJOYRYjAYeOaZZ7DZbJhMJmw2G8888wx6ffN3kTIYDDz33HNcdNFF5Obm8uMf/5h+/fpFcNZCCCGEECJaRE/jxnZg4MCBLFmyhPLycpKSklqUlB938cUXc/HFF0dgdkIIIYQQIppJYh5her2e1NTUtp6GEEIIIYQ4y0gpixBCCCGEEFFAEnMhhBBCCCGigCTmQgghhBBCRAFJzIUQQgghhIgCkpgLIYQQQggRBSQxPwtUVFRwzTXX0KdPH3Jzc1m5cmVbT0kIIYQQQkSYtEuMMJ/Ph91ux2azYTBE5td77733Mm3aNN599108Hg8OhyMi4wohhBBCiOghiXmEKKV45ZVXWLhwIV6vF6PRyMyZM5kzZw6apjV73KqqKr799lvmz58PgMlkwmQyRWjWQgghhBAiWkgpS4S88sorzJs3j5qaGjweDzU1NcybN4958+a1aNx9+/aRlpbGzTffzODBg7n11lupqamJ0KyFEEIIIUS0kMQ8Anw+HwsXLsTlctWLu1wuFixYgM/na9HY69at4/bbb2f9+vXExsbyxBNPtHTKQgghhBAiykhiHgF2ux2v1xv2mNfrxW63N3vsrKwssrKyGDlyJADXXHMN69ata/Z4QgghhBAiOkliHgE2mw2j0Rj2mNFoxGazNXvsjh07kp2dzc6dOwFYsmQJffv2bfZ4QgghhBAiOkliHgEGg4GZM2disVjqxS0WC7NmzWpxd5Z//OMf3HjjjQwYMIANGzbw4IMPtmg8IYQQQgg
|
||
|
"text/plain": [
|
||
|
"<Figure size 864x576 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"plt.figure(figsize=(12,8))\n",
|
||
|
"sns.scatterplot(x='salary',y='sales',data=df,size='work experience')"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"**Use *s=* if you want to change the marker size to be some uniform integer value**"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 13,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"<matplotlib.axes._subplots.AxesSubplot at 0x208a00c1708>"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 13,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAuYAAAHgCAYAAADpKKjTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nOzde3wU9b0//tfkurlsyA3MYkggECEIRhIkoa2geOyx+HvUUgWrLAWKgBSj1ltV6OmprXxb5XiqqIiCiEQQsYL9HW379Yj10pIgSeRSAwaBQDQRsknI5n7Z+f6xO+vs7uzuzOxusgmv5+PBQ9js7EwCp+c1n3l/3m9BFEUQEREREdHgihjsCyAiIiIiIgZzIiIiIqKwwGBORERERBQGGMyJiIiIiMIAgzkRERERURhgMCciIiIiCgNRg30B4SI9PV0cO3bsYF8GEREREQ1jFRUVjaIojlT6GoO5w9ixY3Hw4MHBvgwiIiIiGsYEQaj19jWWshARERERhQEGcyIiIiKiMMBgTkREREQUBhjMiYiIiIjCAIM5EREREVEYYDAnIiIiIgoDDOZERERERGGAwZyIiIiIKAwwmBMRERERhQEGcyIiIiKiMMBgTkREREQUBqIG+wKIiIiIiAaKpa0bnb396LeJiIwQEBcdibTE2MG+LAAM5kRERER0EWhs60b5ySZs2FeDYw1W5+uTMowomZOLopxUpA9y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MW9E8sDuw9ho7kAj+45gup
|
||
|
"text/plain": [
|
||
|
"<Figure size 864x576 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"plt.figure(figsize=(12,8))\n",
|
||
|
"sns.scatterplot(x='salary',y='sales',data=df,s=200)"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 17,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"<matplotlib.axes._subplots.AxesSubplot at 0x208a077b908>"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 17,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAuYAAAHgCAYAAADpKKjTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADh0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uMy4xLjEsIGh0dHA6Ly9tYXRwbG90bGliLm9yZy8QZhcZAAAgAElEQVR4nOzdS4wl2Xkn9v+Jc+Jx4z7yVVnVTTZLPbIo2pjBaCz1SDQMDGwI5lBamNrIsDekBQE0hIEx3lkLAwIkL7QdbQgLsCwSsA3LAwjiQhqaEDC7kcHmeDyah2iSmmaxu6sqq/Jm3lfceJwTx4sTcTPuK/Pm+1b2/wcUqupWRN7IR5P/OPGd7xPWWhARERER0f3y7vsCiIiIiIiIwZyIiIiIaCswmBMRERERbQEGcyIiIiKiLcBgTkRERES0BRjMiYiIiIi2gLrvC9gWjx49su++++59XwYRERERPWDf/e53X1trD1f9G4N55d1338X7779/35dBRERERA+YEOJH6/6NpSxERERERFuAwZyIiIiIaAswmBMRERERbQEGcyIiIiKiLcBgTkRERES0BRjMiYiIiIi2AIM5EREREdEWYDAnIiIiItoCDOZERERERFuAwZyIiIiIaAswmBMRERERbQF13xdARERERHRXJpnGONMorYUnBDqhQjvcjki8HVdBRERERHSLBkmBo1GKtCjnXj9Chsj38LgbYSf27+nqHJayEBEREdGDdjRK8ayfLIXyWlqUeNZPcDRK7/jK5jGYExEREdGDNUgKvBxkGx37cpBhkBS3fEXrMZgTERER0YN12VXw+1w1ZzAnIiIiogdpkum15SvrpEWJSaZv6YrOx2BORERERA/S+IoB+6rnXReDORERERE9SKW1d3redTGYExEREdGD5Alxp+ddF4M5ERERET1InSsODrrqedfFYE5ERERED1I7VIj8y8XdVuDd2yRQBnMiIiIierAed6NLHX/YudzxN4nBnIiIiIgerJ3Yx5OdcKNjn+yE2In9W76i9e5nnZ6IiIiI6I487kYIpcTRKF3Z17wVeDjsRPcaygEGcyIiIiL6BNiJfezEPiaZxjjTKK2FJwS6kUIcbEck3o6rICIiIiK6A+1Q3dvmzouwxpyIiIiIaAswmBMRERERbQEGcyIiIiKiLcBgTkRERES0BRjMiYiIiIi2AIM5EREREdEWYDAnIiIiItoCDOZERERERFuAwZyIiIiIaAswmBMRERERbQEGcyIiIiKiLcBgTkRERES0BRjMiYiIiIi2AIM5EREREdEWYDAnIiIiItoCDOZERERERFuAwZyIiIiIaAswmBMRERERbQEGcyIiIiKiLcBgTkRERES0BRjMiYiIiIi2wK0FcyHE54QQ/6LxayiE+O+EEPtCiG8LIb5f/b5XHS+EEL8nhPiBEOJfCiF+tvGxvlId/30hxFcar/+cEOIvq3N+TwghqtdXvgcRERER0ba6tWBurf2etfbvWGv/DoCfA5AA+GMAvwngz621nwXw59XfAeCXAHy2+vVVAF8DXMgG8FsAfgHAzwP4rUbQ/lp1bH3eF6vX170HEREREdFWuqtSll8E8ENr7Y8AfAnA16vXvw7gV6o/fwnAN6zzFwB2hRBvA/j7AL5tre1ba08AfBvAF6t/61lr/5m11gL4xsLHWvUeRERERERb6a6C+X8J4H+v/vzE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HE/OrY1fdN3rpDcTV8yJiIju2U2VOFwm+F32vOuUybRDNQvZq24Bei0fB51grqwlUAKhcuuHofLw9k601EHmLkp3Fl3lqcQ0Nzipync2dd3rpDcTV8yJiIju0U12UWmuTF/Gqs2Ui65TJtMOFR53IzzrJ1h
|
||
|
"text/plain": [
|
||
|
"<Figure size 864x576 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"plt.figure(figsize=(12,8))\n",
|
||
|
"sns.scatterplot(x='salary',y='sales',data=df,s=200,linewidth=0,alpha=0.2)"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"### style\n",
|
||
|
"\n",
|
||
|
"Automatically choose styles based on another categorical feature in the dataset. Optionally use the **markers=** parameter to pass a list of marker choices based off matplotlib, for example: ['*','+','o']"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 13,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"<AxesSubplot:xlabel='salary', ylabel='sales'>"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 13,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAucAAAHgCAYAAAAG6sPtAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy86wFpkAAAACXBIWXMAAAsTAAALEwEAmpwYAAEAAElEQVR4nOzdd3hU1dbA4d+ZnmRSSQKh95YQIAlNukgTrhUURQUURcV+Ldd7r713PxSxoigoCF6xgSK9lwTpNUCogfQyS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UQQgghxGXB7fFyOKeI5bsyCPU3Fh/vTsdmd1/ooflIcC6EEEIIIS4LpWkt8Y1CWfbUlTx6VUtmJR3CXVLmuSaQtBYhhBBCCHFZCPIzckunBtyc0ACr2cCobo24vWsjQvxNF3poPhKcCyGEEEKIy0ZwmUA8uAYF5aUkrUWcs6+++ooHHngAgOeff5633377Ao9ICCGEEOLiJMG5EEIIIYQQNYQE51Vo7ty5DB06lE6dOjF06NBy282fjYKCAoYMGUL79u2JiYlhxowZACxYsICOHTvSrl077rzzThwOBwCNGzfm3//+N926dSMhIYH169czcOBAmjVrxscff+zr96233qJTp07Exsby3HPPVXrv33//nbi4ONq3b0+/fv0AyMrK4rrrriM2NpauXbuyadOmk45/z549DBo0iPj4eHr27MmOHTt87V27dqVTp048++yzWK3WMxqbEEIIIcSlSoLzKjJ37lxeeeUVjh49ilKKo0eP8sorr5xTgP77779Tt25dNm7cyJYtWxg0aBB2u53Ro0czY8YMNm/ejNvtZtKkSb5rGjRowKpVq+jZsyejR49m1qxZrF69mmeffRaAefPmsXv3btauXcuGDRtISkpi6dKl5e6bnp7O3XffzQ8//MDGjRuZOXMmAM899xwdO3Zk06ZNvPrqq9xxxx0nHf8999zDBx98QFJSEm+//Tb3338/AA8//DAPP/ww69ato27dur7zT2dsQgghhBCXMgnOq8jEiROx2+3l2ux2OxMnTjzrPtu1a8f8+fN56qmnWLZsGcHBwezcuZMmTZrQsmVLAEaNGlUugL3mmmt813bp0oXAwEAiIiKwWCzk5OQwb9485s2bR8eOHYmLi2PHjh3s3r273H1Xr15Nr169aNKkCQBhYWEALF++nNtvvx2AK6+8kszMTHJzcysdu81mY+XKlQwfPpwOHTowbtw4UlNTAVi1ahXDhw8H4NZbb/VdczpjE0IIIYS4lEm1lipy7NixM2o/HS1btiQpKYk5c+bw9NNPM2DAAF/wfSJmsxkAnU7nOy792e12o5Ti6aefZty4cSfsQymFpmmVth+vsvMAvF4vISEhbNiw4aTjPb7/U41NCCGEEOJSJjPnVaR27dpn1H46jhw5gr+/P7fddhuPP/4469evp3Xr1qSkpJCcnAzAN998Q+/evU+7z4EDBzJ58mRsNhsAhw8fJi0trdw53bp1Y8mSJezbtw8ozjUH6NWrF9OmTQNg8eLFhIeHExQUVOl9goKCaNKkiS8lRinFxo0bAejatSs//PADANOnTz+jsQkhhBBCXMpk5ryKjB8/nldeeaVcaovFYmH8+PFn3efmzZt54okn0Ol0GI1GJk2ahMVi4csvv2T48OG43W46derEvffee9p9DhgwgO3bt9OtWzcArFYrU6dOJTIy0ndOREQEn376KTfccANer5fIyEj+/PNPnn/+ecaMGUNsbCz+/v5MmTLlpPeaNm0a9913Hy+//DIul4sRI0bQvn173n//fW677TbeeecdhgwZQnBw8GmPTQghhBDiUqZVlqpwOUpISFCJiYnl2rZv306bNm1Ou4+5c+cyceJEjh07Ru3atRk/fjy
|
||
|
"text/plain": [
|
||
|
"<Figure size 864x576 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"plt.figure(figsize=(12,8))\n",
|
||
|
"sns.scatterplot(x='salary',y='sales',data=df,style='level of education')"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 14,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"<AxesSubplot:xlabel='salary', ylabel='sales'>"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 14,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
},
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAucAAAHgCAYAAAAG6sPtAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuMCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy86wFpkAAAACXBIW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KSkkJGRUWrfs7Oz+euvvxg6dCgtW7bkvvvu4/Tp0wBs3LiRoUOHAjBixIjCa86nb0IIIYQQ1zKpOa8kp9JzLyh+Pho2bEhMTAzLli1j8uTJ9O3btzD5LouHhwcABoOh8HHBc5vNhlKKyZMnc99995XZhlIKTdNKjZ+rtPMAHA4HgYGB7Nixo9z+ntt+RX0TQgghhLiWych5Jake6HVB8fNx6tQpvL29GTVqFE899RTbtm2jcePGxMXFcfjwYQBmz55N9+7dz7vNfv36MW3aNLKz9UX2ExISSExMdDmnU6dO/P777xw7dgzQa80BunXrxty5cwFYt24doaGh+Pv7l3off39/6tSpU1gSo5Ri586dAHTs2JElS5YAMH/+/AvqmxBCCCHEtUxGzivJ0/0aMfm73S6lLV4mI0/3a3TRbe7evZunn34ag8GAyWRi6tSpeHp6Mn36dIYOHYrNZqNdu3bcf//9591m37592b9/P506dQLA19eXOXPmEB4eXnhOWFgYX375JbfffjsOh4Pw8HBWrlzJyy+/zLhx44iOjsbb25uZM2eWe6+5c+fywAMP8Nprr2G1Whk2bBgtWrTggw8+YNSoUbz77rsMGDCAgIC
|
||
|
"text/plain": [
|
||
|
"<Figure size 864x576 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"plt.figure(figsize=(12,8))\n",
|
||
|
"# Sometimes its nice to do BOTH hue and style off the same column\n",
|
||
|
"sns.scatterplot(x='salary',y='sales',data=df,style='level of education',hue='level of education',s=100)"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"## Exporting a Seaborn Figure"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 16,
|
||
|
"metadata": {},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"image/png": "iV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q1axbPPPssff/xBQEAABw8epE6dOjRs2BCAMWPGuCSwt956a+G1HTp0wM/Pj7CwMDw9PUlPT2fFihWsWLGCVq1a0bp1aw4cOEBsbKzLfTdt2kS3bt2oU6cOAMHB+lJDGzZsYPTo0QDceOONpKSkkJGRUWrfs7Oz+euvvxg6dCgtW7bkvvvu4/Tp0wBs3LiRoUOHAjBixIjCa86nb0IIIYQQ1zKpOa8kp9JzLyh+Pho2bEhMTAzLli1j8uTJ9O3btzD5LouHhwcABoOh8HHBc5vNhlKKyZMnc99995XZhlIKTdNKjZ+rtPMAHA4HgYGB7Nixo9z+ntt+RX0TQgghhLiWych5Jake6HVB8fNx6tQpvL29GTVqFE899RTbtm2jcePGxMXFcfjwYQBmz55N9+7dz7vNfv36MW3aNLKz9UX2ExISSExMdDmnU6dO/P777xw7dgzQa80BunXrxty5cwFYt24doaGh+Pv7l3off39/6tSpU1gSo5Ri586dAHTs2JElS5YAMH/+/AvqmxBCCCHEtUxGzivJ0/0aMfm73S6lLV4mI0/3a3TRbe7evZunn34ag8GAyWRi6tSpeHp6Mn36dIYOHYrNZqNdu3bcf//9591m37592b9/P506dQLA19eXOXPmEB4eXnhOWFgYX375JbfffjsOh4Pw8HBWrlzJyy+/zLhx44iOjsbb25uZM2eWe6+5c+fywAMP8Nprr2G1Whk2bBgtWrTggw8+YNSoUbz77rsMGDCAgIC
|
||
|
"text/plain": [
|
||
|
"<Figure size 864x576 with 1 Axes>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {
|
||
|
"needs_background": "light"
|
||
|
},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"plt.figure(figsize=(12,8))\n",
|
||
|
"sns.scatterplot(x='salary',y='sales',data=df,style='level of education',hue='level of education',s=100)\n",
|
||
|
"\n",
|
||
|
"# Call savefig in the same cell\n",
|
||
|
"plt.savefig('example_scatter.jpg')"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {},
|
||
|
"source": [
|
||
|
"----\n",
|
||
|
"----"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"metadata": {
|
||
|
"anaconda-cloud": {},
|
||
|
"kernelspec": {
|
||
|
"display_name": "Python 3",
|
||
|
"language": "python",
|
||
|
"name": "python3"
|
||
|
},
|
||
|
"language_info": {
|
||
|
"codemirror_mode": {
|
||
|
"name": "ipython",
|
||
|
"version": 3
|
||
|
},
|
||
|
"file_extension": ".py",
|
||
|
"mimetype": "text/x-python",
|
||
|
"name": "python",
|
||
|
"nbconvert_exporter": "python",
|
||
|
"pygments_lexer": "ipython3",
|
||
|
"version": "3.8.5"
|
||
|
}
|
||
|
},
|
||
|
"nbformat": 4,
|
||
|
"nbformat_minor": 1
|
||
|
}
|