69 lines
1.4 KiB
Plaintext
69 lines
1.4 KiB
Plaintext
{
|
|
"cells": [
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"import cartopy\n",
|
|
"import cartopy.crs as ccrs\n",
|
|
"import cartopy.feature as cfeature\n",
|
|
"\n",
|
|
"import matplotlib.pyplot as plt\n",
|
|
"%matplotlib inline\n",
|
|
"\n",
|
|
"## Natural Earth 2 cache test\n",
|
|
"## Live 8.5 * darkblue-b\n",
|
|
"##"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": [
|
|
"ax = plt.axes(projection=ccrs.PlateCarree() ) \n",
|
|
"\n",
|
|
"ax.add_feature(cfeature.LAND)\n",
|
|
"ax.add_feature(cfeature.OCEAN)\n",
|
|
"ax.add_feature(cfeature.COASTLINE)\n",
|
|
"ax.add_feature(cfeature.BORDERS, linestyle=':')\n",
|
|
"ax.add_feature(cfeature.LAKES, alpha=0.5)\n",
|
|
"ax.add_feature(cfeature.RIVERS)\n",
|
|
"\n",
|
|
"plt.show()"
|
|
]
|
|
},
|
|
{
|
|
"cell_type": "code",
|
|
"execution_count": null,
|
|
"metadata": {},
|
|
"outputs": [],
|
|
"source": []
|
|
}
|
|
],
|
|
"metadata": {
|
|
"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
|
|
}
|