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
+74
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,80 @@ fig.update_layout(
111
111
112
112
fig.show()
113
113
```
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
+
117
+
Use ```None``` between path coordinates to create a break in the otherwise connected paths.
0 commit comments