Skip to content

Commit deb0f1f

Browse files
committed
Selected more useful colormap
1 parent 6182a17 commit deb0f1f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/osm.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
},
100100
"outputs": [],
101101
"source": [
102-
"tf.interpolate(agg)"
102+
"tf.interpolate(agg,low=\"lightcyan\",high=\"darkblue\",how=\"log\")"
103103
]
104104
},
105105
{
@@ -117,7 +117,7 @@
117117
},
118118
"outputs": [],
119119
"source": [
120-
"tf.interpolate(agg.where(agg > 20))"
120+
"tf.interpolate(agg.where(agg > 20),low=\"lightcyan\",high=\"darkblue\",how=\"log\")"
121121
]
122122
},
123123
{
@@ -200,7 +200,7 @@
200200
"def create_image(x_range, y_range, w, h):\n",
201201
" cvs = ds.Canvas(x_range=x_range, y_range=y_range)\n",
202202
" agg = cvs.points(df, 'x', 'y', ds.count())\n",
203-
" return tf.interpolate(agg.where(agg > 20))\n",
203+
" return tf.interpolate(agg.where(agg > 20),low=\"lightcyan\",high=\"darkblue\",how=\"log\")\n",
204204
"\n",
205205
"p = figure(tools='pan,wheel_zoom,box_zoom,reset', plot_width=800, plot_height=800, \n",
206206
" x_range=(-bound, bound), y_range=(-bound, bound))\n",

0 commit comments

Comments
 (0)