We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30f5523 commit 3a1334fCopy full SHA for 3a1334f
doc/python/lines-on-maps.md
@@ -144,18 +144,17 @@ fig.add_trace(go.Scattergeo(
144
)
145
)))
146
147
-flight_paths = []
148
lons = []
149
lats = []
150
import numpy as np
151
lons = np.empty(3 * len(df_flight_paths))
152
lons[::3] = df_flight_paths['start_lon']
153
lons[1::3] = df_flight_paths['end_lon']
154
-lons[::3] = None
+lons[2::3] = None
155
lats = np.empty(3 * len(df_flight_paths))
156
lats[::3] = df_flight_paths['start_lat']
157
lats[1::3] = df_flight_paths['end_lat']
158
-lats[::3] = None
+lats[2::3] = None
159
160
fig.add_trace(
161
go.Scattergeo(
0 commit comments