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
Currently, scale.nice only modifies the scale’s current domain; if you set a new domain, it won’t be niced. However, perhaps scale.nice should function more like scale.round, and remember the nice setting, such that any new domain that is set is automatically niced.
However, this would not be a backwards-compatible change, since it would affect the behavior of scale.nice() with no arguments: it would now return the current nice count, which would default to undefined indicating that the scale is not niced.
The text was updated successfully, but these errors were encountered:
Currently, scale.nice only modifies the scale’s current domain; if you set a new domain, it won’t be niced. However, perhaps scale.nice should function more like scale.round, and remember the nice setting, such that any new domain that is set is automatically niced.
However, this would not be a backwards-compatible change, since it would affect the behavior of scale.nice() with no arguments: it would now return the current nice count, which would default to undefined indicating that the scale is not niced.
The text was updated successfully, but these errors were encountered: