Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
archmoj committed May 8, 2024
1 parent bff00ac commit 48d057f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/traces/scattergl/convert.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ function convertTextStyle(gd, trace) {
return optsOut;
}

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

0 comments on commit 48d057f

Please sign in to comment.