Skip to content
Merged
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: 1 addition & 1 deletion src/plots/cartesian/layout_attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ module.exports = {
description: [
'Sets the text displayed at the ticks position via `tickvals`.',
'Only has an effect if `tickmode` is set to *array*.',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually while editing this, could I rm 'Only has an effect if tickmode is set to array.' cause that's actually not true anymore right @etpinard // @mdtusz

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It depends what we mean by set.

Does set mean:

  1. that tickmode has to be set by the user to 'array', or
  2. that tickmode is either set by the user to 'array' or inferred to be 'array' by tickvals.

I think item 1. is probably what most people would understand by set. But how should we describe situation similar to item 2. ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh yes you're totally right, I wasn't thinking about opt 2.
We should probably leave as is for now then. (but just change the typo in this commit)

'Used with `ticktext`.'
'Used with `tickvals`.'
].join(' ')
},
ticks: {
Expand Down