You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/python/lines-on-maps.md
+46-5
Original file line number
Diff line number
Diff line change
@@ -111,17 +111,43 @@ fig.update_layout(
111
111
112
112
fig.show()
113
113
```
114
-
### High performance US Flight Paths Map
115
-
If you can relinquish having individual styles for the flight paths (e.g. opacity), you can put multiple paths into one trace, which makes the map render much faster.
114
+
### Performance improvement: put many lines in the same trace
115
+
For very large amounts (>1000) of lines, performance may become critcal. If you can relinquish setting individual line styles (e.g. opacity), you can put multiple paths into one trace. This makes the map render faster and reduces the script execution time and memory consumption.
116
116
117
117
Use ```None``` between path coordinates to create a break in the otherwise connected paths.
118
118
119
119
```python
120
-
# ... omitted code: look at the previous "US Flight Paths Map" example
0 commit comments