Skip to content

improve labelalias description for negative numbers #6667

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

Merged
merged 1 commit into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/plots/cartesian/layout_attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,8 @@ module.exports = {
'For example using {US: \'USA\', CA: \'Canada\'} changes US to USA',
'and CA to Canada. The labels we would have shown must match',
'the keys exactly, after adding any tickprefix or ticksuffix.',
'For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash.',
'That means you need to use −1 instead of -1.',
'labelalias can be used with any axis type, and both keys (if needed)',
'and values (if desired) can include html-like tags or MathJax.'
].join(' ')
Expand Down
Loading