Skip to content

Commit a209c0b

Browse files
authored
Add radiation notebook (#884)
* a new notebook added * error with radiation file * clear outputs
1 parent b483519 commit a209c0b

File tree

2 files changed

+79
-3
lines changed

2 files changed

+79
-3
lines changed

examples/CountriesGeoJSON.ipynb

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,18 @@
4242
"\n",
4343
"ipyw.VBox([map, label])"
4444
]
45+
},
46+
{
47+
"cell_type": "code",
48+
"execution_count": null,
49+
"metadata": {},
50+
"outputs": [],
51+
"source": []
4552
}
4653
],
4754
"metadata": {
4855
"kernelspec": {
49-
"display_name": "Python 3",
56+
"display_name": "Python 3 (ipykernel)",
5057
"language": "python",
5158
"name": "python3"
5259
},
@@ -60,9 +67,9 @@
6067
"name": "python",
6168
"nbconvert_exporter": "python",
6269
"pygments_lexer": "ipython3",
63-
"version": "3.7.6"
70+
"version": "3.9.7"
6471
}
6572
},
6673
"nbformat": 4,
67-
"nbformat_minor": 1
74+
"nbformat_minor": 4
6875
}

examples/Radiation.ipynb

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"id": "43ef0082-9552-44e9-82d3-c1e27209d2c5",
7+
"metadata": {},
8+
"outputs": [
9+
{
10+
"data": {
11+
"application/vnd.jupyter.widget-view+json": {
12+
"model_id": "e6e1117099a34472927b621c0c6b7e70",
13+
"version_major": 2,
14+
"version_minor": 0
15+
},
16+
"text/plain": [
17+
"Map(center=[47, 2], controls=(ZoomControl(options=['position', 'zoom_in_text', 'zoom_in_title', 'zoom_out_text…"
18+
]
19+
},
20+
"metadata": {},
21+
"output_type": "display_data"
22+
}
23+
],
24+
"source": [
25+
"from ipyleaflet import Map, TileLayer, FullScreenControl\n",
26+
"\n",
27+
"m = Map(center=(47, 2), zoom=5)\n",
28+
"\n",
29+
"radon = TileLayer(url='https://cartoradon.irsn.fr/static/r/{z}/{x}/{y}.png',\n",
30+
" tms=True, opacity=0.5)\n",
31+
"m.add_layer(radon)\n",
32+
"\n",
33+
"fullscreen = FullScreenControl()\n",
34+
"m.add_control(fullscreen)\n",
35+
"\n",
36+
"m"
37+
]
38+
},
39+
{
40+
"cell_type": "code",
41+
"execution_count": null,
42+
"id": "b6e75898-89cf-44e1-826a-11e7b4e9b427",
43+
"metadata": {},
44+
"outputs": [],
45+
"source": []
46+
}
47+
],
48+
"metadata": {
49+
"kernelspec": {
50+
"display_name": "Python 3 (ipykernel)",
51+
"language": "python",
52+
"name": "python3"
53+
},
54+
"language_info": {
55+
"codemirror_mode": {
56+
"name": "ipython",
57+
"version": 3
58+
},
59+
"file_extension": ".py",
60+
"mimetype": "text/x-python",
61+
"name": "python",
62+
"nbconvert_exporter": "python",
63+
"pygments_lexer": "ipython3",
64+
"version": "3.9.7"
65+
}
66+
},
67+
"nbformat": 4,
68+
"nbformat_minor": 5
69+
}

0 commit comments

Comments
 (0)