|
@@ -126,34 +126,26 @@
|
|
"source": [
|
|
"source": [
|
|
"import geoplot\n",
|
|
"import geoplot\n",
|
|
"\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",
|
|
|
|
- "geoplot.pointplot(\n",
|
|
|
|
- " european_facilities_2011,\n",
|
|
|
|
- " s=0.4,\n",
|
|
|
|
- " ax=ax,\n",
|
|
|
|
- ");"
|
|
|
|
- ]
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- "cell_type": "code",
|
|
|
|
- "execution_count": null,
|
|
|
|
- "metadata": {},
|
|
|
|
- "outputs": [],
|
|
|
|
- "source": [
|
|
|
|
"ax = geoplot.kdeplot(\n",
|
|
"ax = geoplot.kdeplot(\n",
|
|
" european_facilities_2011,\n",
|
|
" european_facilities_2011,\n",
|
|
" clip=world.geometry,\n",
|
|
" clip=world.geometry,\n",
|
|
" shade=True,\n",
|
|
" shade=True,\n",
|
|
" cmap='Reds',\n",
|
|
" cmap='Reds',\n",
|
|
" projection=geoplot.crs.AlbersEqualArea(),\n",
|
|
" projection=geoplot.crs.AlbersEqualArea(),\n",
|
|
- " figsize=(24, 16),\n",
|
|
+ " figsize=(20, 12),\n",
|
|
|
|
+ " # extent=(-28, 32, 32, 75),\n",
|
|
|
|
+ ")\n",
|
|
|
|
+ "geoplot.polyplot(\n",
|
|
|
|
+ " world.geometry,\n",
|
|
|
|
+ " ax=ax,\n",
|
|
|
|
+ " linewidth=1,\n",
|
|
")\n",
|
|
")\n",
|
|
|
|
+ "geoplot.pointplot(\n",
|
|
|
|
+ " european_facilities_2011,\n",
|
|
|
|
+ " color='orange',\n",
|
|
|
|
+ " s=0.4,\n",
|
|
|
|
+ " ax=ax,\n",
|
|
|
|
+ ");\n",
|
|
"ax.set_title('E-PRTR_database_v17_xls.zip / Pollutant releases.xlsx / 2011 / facilities');"
|
|
"ax.set_title('E-PRTR_database_v17_xls.zip / Pollutant releases.xlsx / 2011 / facilities');"
|
|
]
|
|
]
|
|
}
|
|
}
|