Skip to content

Commit

Permalink
In axis painter use 'g' as default for axis values
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Sep 16, 2024
1 parent f9f68be commit 3f0b830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/gpad/TAxisPainter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const AxisPainterMethods = {
return res;
}

return floatToString(val, fmt || gStyle.fStatFormat);
return floatToString(val, fmt || 'g');
},

/** @summary Provide label for exponential form */
Expand Down

0 comments on commit 3f0b830

Please sign in to comment.