Skip to content

Commit d4df9f0

Browse files
committed
Add plot with polar proj
1 parent 4e4d4e3 commit d4df9f0

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

2-analysis-examples/iceberg.ipynb

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,51 @@
132132
" cmap=['yellow','blue'], colorbar=True)"
133133
]
134134
},
135+
{
136+
"cell_type": "markdown",
137+
"metadata": {},
138+
"source": [
139+
"## Non-default projections\n",
140+
"\n",
141+
"https://geoviews.org/user_guide/Projections.html"
142+
]
143+
},
144+
{
145+
"cell_type": "code",
146+
"execution_count": null,
147+
"metadata": {
148+
"tags": []
149+
},
150+
"outputs": [],
151+
"source": [
152+
"import geoviews as gv\n",
153+
"import geoviews.feature as gf\n",
154+
"from cartopy import crs"
155+
]
156+
},
157+
{
158+
"cell_type": "code",
159+
"execution_count": null,
160+
"metadata": {
161+
"tags": []
162+
},
163+
"outputs": [],
164+
"source": [
165+
"( \n",
166+
" gf.coastline * \n",
167+
" traj.hvplot(title='Iceberg trajectory in SouthPolarStereo', tiles=None)\n",
168+
").opts(projection=crs.SouthPolarStereo())"
169+
]
170+
},
171+
{
172+
"cell_type": "code",
173+
"execution_count": null,
174+
"metadata": {
175+
"tags": []
176+
},
177+
"outputs": [],
178+
"source": []
179+
},
135180
{
136181
"cell_type": "code",
137182
"execution_count": null,
@@ -156,7 +201,7 @@
156201
"name": "python",
157202
"nbconvert_exporter": "python",
158203
"pygments_lexer": "ipython3",
159-
"version": "3.10.8"
204+
"version": "3.10.11"
160205
},
161206
"vscode": {
162207
"interpreter": {

0 commit comments

Comments
 (0)