Skip to content

Commit 48d057f

Browse files
committed
add comment
1 parent bff00ac commit 48d057f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/traces/scattergl/convert.js

+2
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ function convertTextStyle(gd, trace) {
225225
return optsOut;
226226
}
227227

228+
// scattergl rendering pipeline has limited support of numeric weight values
229+
// Here we map the numbers to be either bold or normal.
228230
function weightFallBack(w) {
229231
if(w <= 1000) {
230232
return w > 500 ? 'bold' : 'normal';

0 commit comments

Comments
 (0)