From c2d0cdadd5af4d7cf3fe86871da082ff907e0ee3 Mon Sep 17 00:00:00 2001 From: Florian Bezannier Date: Wed, 5 May 2021 21:08:45 +0200 Subject: [PATCH] fix path --- web/figures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/figures.py b/web/figures.py index ea2de9a..7257291 100644 --- a/web/figures.py +++ b/web/figures.py @@ -77,7 +77,7 @@ def get_figures(trips: Trips, charging: List[dict]): lats = [42, 41] lons = [1, 2] names = ["undefined", "undefined"] - trips_map = px.line_mapbox(lat=lats, lon=lons, hover_name=names, zoom=12, mapbox_style="/assets/style2.json") + trips_map = px.line_mapbox(lat=lats, lon=lons, hover_name=names, zoom=12, mapbox_style="assets/style2.json") trips_map.add_trace(go.Scattermapbox( mode="markers", marker={"symbol": "marker", "size": 20},