{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "You can look [at the matplotlib documentation](https://matplotlib.org/users/legend_guide.html#legend-location), which isn't *too* bad, but this might also be helpful." ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import pandas as pd\n", "import matplotlib.pyplot as plt\n", "\n", "%matplotlib inline" ] }, { "cell_type": "code", "execution_count": 53, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | country | \n", "continent | \n", "gdp_per_capita | \n", "life_expectancy | \n", "population | \n", "
---|---|---|---|---|---|
0 | \n", "Afghanistan | \n", "Asia | \n", "663 | \n", "54.863 | \n", "22856302 | \n", "
1 | \n", "Albania | \n", "Europe | \n", "4195 | \n", "74.200 | \n", "3071856 | \n", "
2 | \n", "Algeria | \n", "Africa | \n", "5098 | \n", "68.963 | \n", "30533827 | \n", "