Skip to content

Commit

Permalink
#415 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Azaya89 committed Aug 14, 2024
1 parent f230271 commit aa65238
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nyc_taxi/nyc_taxi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@
"\n",
"custom_points = hv.Points(df, ['dropoff_x', 'dropoff_y'])\n",
"custom_rasterized = hd.rasterize(custom_points).apply(transform).opts(cmap='fire', cnorm='eq_hist', tools=['hover'])\n",
"tiles = EsriStreet().redim.range(x=x_range, y=y_range).opts(alpha=0.5)\n",
"tiles = EsriStreet().redim.range(x=x_range, y=y_range).opts(alpha=0.5, bgcolor='black')\n",
"\n",
"tiles * hd.dynspread(custom_rasterized, threshold=0.3, max_px=4)"
]
Expand Down Expand Up @@ -428,8 +428,9 @@
"\n",
"picks = hv.Points(df, ['pickup_x', 'pickup_y'])\n",
"drops = hv.Points(df, ['dropoff_x', 'dropoff_y'])\n",
"\n",
"((hd.rasterize(picks) * hd.rasterize(drops))).apply(transform).opts(\n",
" bgcolor='grey', xaxis=None, yaxis=None, width=900, height=500)"
" bgcolor='white', xaxis=None, yaxis=None, width=900, height=500)"
]
},
{
Expand Down

0 comments on commit aa65238

Please sign in to comment.