-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have StringFormatter respect nan_format #14017
Conversation
Well, presumably the |
@mattpap how can I run individual or subsets of BokehJS tests? |
It looks like Edit: honestly I rather think |
E.g. |
Agree with |
Yes, that makes sense to me as well. |
@philippjfr Just clarifying, do you mean the new default for just |
I split out |
value = this.nan_format | ||
} else if (value == null) { | ||
value = this.null_format | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW I think this is slightly awkward with the other formatters inheriting from StringFormatter
, since they also do the same checks and then often call super.doFormat
.
That said, things already seem a bit vague here: e.g. is StringFormatter a formatter for string value inputs or a formatter that formats anything, to string values? In seems like a name more likeTextPropertiesFormatter
would be more descriptive here.
* Have StrinFormatter respect nan_format * split off null_format * update defaults
nan_format
seems broken #14014