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
As specified here, the formatting is described as the same as d3's formatting language.
However, the d3 documentation this points to mentions that "the sign can be... ( - nothing for zero or positive and parentheses for negative.".
This option, however, is not available to plotly.js.
I see that the d3_format_re is in fact /(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i, and does not include the ")" along with "+", "-" and ""(space), so it defaults back to -.
The text was updated successfully, but these errors were encountered:
Right - until we manage to upgrade d3-format, the docs should really be pointing to the d3v3 version of the package, as we do in some of the attribute docstrings:
As specified here, the formatting is described as the same as d3's formatting language.
However, the d3 documentation this points to mentions that "the sign can be... ( - nothing for zero or positive and parentheses for negative.".
This option, however, is not available to plotly.js.
"(space), so it defaults back to
I see that the
d3_format_re
is in fact/(?:([^{])?([<>=^]))?([+\- ])?([$#])?(0)?(\d+)?(,)?(\.-?\d+)?([a-z%])?/i
, and does not include the ")
" along with "+
", "-
" and "-
.The text was updated successfully, but these errors were encountered: