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/histograms.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ fig.show()
88
88
89
89
#### Type of normalization
90
90
91
-
The default mode is to represent the count of samples in each bin. With the `histnorm` argument, it is also possible to represent the percentage or fraction of samples in each bin (`histnorm='percent'` or `probability`), or a density histogram (the sum of bars is equal to 100, `density`), or a probability density histogram (sum equal to 1, `probability density`).
91
+
The default mode is to represent the count of samples in each bin. With the `histnorm` argument, it is also possible to represent the percentage or fraction of samples in each bin (`histnorm='percent'` or `probability`), or a density histogram (the sum of all bar areas equals the total number of sample points, `density`), or a probability density histogram (the sum of all bar areas equals 1, `probability density`).
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