File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 " import numpy as np\n " ,
3333 " import xarray as xr\n " ,
3434 " import dask\n " ,
35+ " \n " ,
36+ " import matplotlib\n " ,
37+ " matplotlib.use('Agg')\n " ,
38+ " import matplotlib.pyplot as plt\n " ,
3539 " %matplotlib inline\n " ,
3640 " \n " ,
3741 " import holoviews as hv\n " ,
261265 {
262266 "cell_type" : " code" ,
263267 "execution_count" : null ,
264- "metadata" : {
265- "collapsed" : true
266- },
268+ "metadata" : {},
267269 "outputs" : [],
268270 "source" : [
269271 " imshow_grid(mg, 'topographic__elevation', cmap='viridis')"
283285 {
284286 "cell_type" : " code" ,
285287 "execution_count" : null ,
286- "metadata" : {
287- "collapsed" : true
288- },
288+ "metadata" : {},
289289 "outputs" : [],
290290 "source" : [
291291 " hvds_topo = hv.Dataset(ds.topographic__elevation)\n " ,
305305 {
306306 "cell_type" : " code" ,
307307 "execution_count" : null ,
308- "metadata" : {
309- "collapsed" : true
310- },
308+ "metadata" : {},
311309 "outputs" : [],
312310 "source" : [
313311 " %opts Image style(interpolation='bilinear', cmap='viridis') plot[colorbar=True]\n " ,
427425 {
428426 "cell_type" : " code" ,
429427 "execution_count" : null ,
430- "metadata" : {
431- "collapsed" : true
432- },
428+ "metadata" : {},
433429 "outputs" : [],
434430 "source" : [
435431 " imshow_grid(mg2, 'topographic__elevation', cmap='viridis')"
447443 {
448444 "cell_type" : " code" ,
449445 "execution_count" : null ,
450- "metadata" : {
451- "collapsed" : true
452- },
446+ "metadata" : {},
453447 "outputs" : [],
454448 "source" : [
455449 " volcanic_deposits = np.zeros(mg2.size('node'))\n " ,
505499 "cell_type" : " code" ,
506500 "execution_count" : null ,
507501 "metadata" : {
508- "collapsed" : true ,
509502 "scrolled" : true
510503 },
511504 "outputs" : [],
You can’t perform that action at this time.
0 commit comments