Skip to content

Commit

Permalink
minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Azaya89 committed Nov 7, 2024
1 parent a159148 commit 935a220
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions opensky/opensky.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"from holoviews import opts\n",
"\n",
"opts.defaults(\n",
" opts.Path(width=850, height=600, xaxis=None, yaxis=None,\n",
" opts.Path(width=plot_width, height=plot_height, xaxis=None, yaxis=None,\n",
" xlim=x_range, ylim=y_range))"
]
},
Expand Down Expand Up @@ -162,16 +162,6 @@
" return [str(rgb2hex(colormaps.get_cmap(cmap)(i))) for i in np.linspace(0, 1, ncats)]"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import warnings\n",
"warnings.filterwarnings(\"ignore\", category=FutureWarning)"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -265,7 +255,6 @@
"metadata": {},
"outputs": [],
"source": [
"aggregator = ds.by('origin')\n",
"hv.Layout([flightpaths.hvplot.paths('longitude', 'latitude', dynamic=False, datashade=True,\n",
" by='origin', color_key=categorical_color_key(aggregator, 'hsv_r'),\n",
" **ranges).relabel(city) for city, ranges in sorted(city_ranges.items())]).cols(3)"
Expand Down Expand Up @@ -315,7 +304,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.9"
"version": "3.11.10"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 935a220

Please sign in to comment.