|
@@ -124,15 +124,20 @@
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
- "ax = world[(world.continent == 'Europe')].plot(\n",
|
|
|
- " edgecolor='black',\n",
|
|
|
- " color='white',\n",
|
|
|
+ "import geoplot\n",
|
|
|
+ "\n",
|
|
|
+ "ax = geoplot.polyplot(\n",
|
|
|
+ " world[(world.continent == 'Europe')],\n",
|
|
|
" figsize=(20, 12),\n",
|
|
|
")\n",
|
|
|
"ax.set_xlim(-28, 32)\n",
|
|
|
"ax.set_ylim(32, 75)\n",
|
|
|
"ax.set_title('E-PRTR_database_v17_xls.zip / Pollutant releases.xlsx / 2011 / facilities')\n",
|
|
|
- "european_facilities_2011.plot(ax=ax, markersize=0.1);"
|
|
|
+ "geoplot.pointplot(\n",
|
|
|
+ " european_facilities_2011,\n",
|
|
|
+ " s=0.4,\n",
|
|
|
+ " ax=ax,\n",
|
|
|
+ ");"
|
|
|
]
|
|
|
},
|
|
|
{
|
|
@@ -141,8 +146,6 @@
|
|
|
"metadata": {},
|
|
|
"outputs": [],
|
|
|
"source": [
|
|
|
- "import geoplot\n",
|
|
|
- "\n",
|
|
|
"ax = geoplot.kdeplot(\n",
|
|
|
" european_facilities_2011,\n",
|
|
|
" clip=world.geometry,\n",
|