Skip to content

Commit fba110a

Browse files
Merge pull request #53 from ICOS-Carbon-Portal/climbeco_drought
drought notebook updated
2 parents 9f960e5 + 8b77e70 commit fba110a

File tree

4 files changed

+21
-13
lines changed

4 files changed

+21
-13
lines changed

education/General/data/.DS_Store

-6 KB
Binary file not shown.
-6 KB
Binary file not shown.
-10 KB
Binary file not shown.

education/PhD/upscaling_carbon_fluxes/notebooks/htm_eco_drought_2018.ipynb

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
" <td>\n",
3535
" <div style=\"float:left;\">\n",
3636
" <font size=\"2\">\n",
37-
" Karolina Pantazatou & Harry Lankreijer as part of ICOS Carbon Portal educational \n",
37+
" Karolina Pantazatou & Harry Lankreijer as part of ICOS Carbon Portal's educational notebooks\n",
3838
" </font>\n",
3939
" </div>\n",
4040
" </td>\n",
@@ -1906,8 +1906,7 @@
19061906
"cell_type": "code",
19071907
"execution_count": null,
19081908
"metadata": {
1909-
"deletable": false,
1910-
"editable": false
1909+
"deletable": false
19111910
},
19121911
"outputs": [],
19131912
"source": [
@@ -1945,7 +1944,7 @@
19451944
" (measurement_dict_eng[variable] + ' ('+unit_dict[variable]+')','@y{0.f}'),\n",
19461945
" ],\n",
19471946
" formatters={\n",
1948-
" 'x' : 'datetime', # use 'datetime' formatter for 'date' field\n",
1947+
" '@x' : 'datetime', # use 'datetime' formatter for 'date' field\n",
19491948
" },\n",
19501949
" # display a tooltip whenever the cursor is vertically in line with a glyph\n",
19511950
" mode='vline'\n",
@@ -2167,8 +2166,7 @@
21672166
"cell_type": "code",
21682167
"execution_count": null,
21692168
"metadata": {
2170-
"deletable": false,
2171-
"editable": false
2169+
"deletable": false
21722170
},
21732171
"outputs": [],
21742172
"source": [
@@ -2177,8 +2175,6 @@
21772175
"toggle_code()\n",
21782176
"################################\n",
21792177
"\n",
2180-
"\n",
2181-
"\n",
21822178
"def plotIcosEcoBarPlotAnnualStat(Variable, Stat, stat_list, year_ls, bar_color, txt_color):\n",
21832179
" \n",
21842180
" #Import modules: \n",
@@ -2216,7 +2212,7 @@
22162212
" \n",
22172213
" #Add labels to the bar glyphs:\n",
22182214
" labels = LabelSet(x='years', y='y_label_pos', text='stats', level='glyph', text_color=txt_color,\n",
2219-
" x_offset=0, y_offset=0, source=source, render_mode='canvas', text_align='center')\n",
2215+
" x_offset=0, y_offset=0, source=source, render_mode='css', text_align='center')\n",
22202216
"\n",
22212217
" \n",
22222218
" #Set the copyright-label position:\n",
@@ -2491,8 +2487,7 @@
24912487
"cell_type": "code",
24922488
"execution_count": null,
24932489
"metadata": {
2494-
"deletable": false,
2495-
"editable": false
2490+
"deletable": false
24962491
},
24972492
"outputs": [],
24982493
"source": [
@@ -2539,7 +2534,7 @@
25392534
" \n",
25402535
" #Add labels to the bar glyphs:\n",
25412536
" labels = LabelSet(x='years', y='y_label_pos', text='stats', level='glyph', text_color=txt_color,\n",
2542-
" x_offset=0, y_offset=0, source=source, render_mode='canvas', text_align='center')\n",
2537+
" x_offset=0, y_offset=0, source=source, render_mode='css', text_align='center')\n",
25432538
"\n",
25442539
" \n",
25452540
" #Set the copyright-label position:\n",
@@ -5980,7 +5975,20 @@
59805975
"name": "python",
59815976
"nbconvert_exporter": "python",
59825977
"pygments_lexer": "ipython3",
5983-
"version": "3.8.4"
5978+
"version": "3.8.6"
5979+
},
5980+
"toc": {
5981+
"base_numbering": 1,
5982+
"nav_menu": {},
5983+
"number_sections": true,
5984+
"sideBar": true,
5985+
"skip_h1_title": false,
5986+
"title_cell": "Table of Contents",
5987+
"title_sidebar": "Contents",
5988+
"toc_cell": false,
5989+
"toc_position": {},
5990+
"toc_section_display": true,
5991+
"toc_window_display": false
59845992
}
59855993
},
59865994
"nbformat": 4,

0 commit comments

Comments
 (0)