plotly / plotly/plotly.R

How do I use ticklabelindex in plotly in R ?

Open
#2,436 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
2.7k
Forks
641
PR merge metrics
No merged PRs in 30d

Description

I wish to use ticklabelindex = -1 to make the label correspond to the end of the period.

For example, I saw this code:

fig.update_layout(
xaxis=dict(
minor=dict(ticks='outside'),
ticks='outside',
ticklen=10,
ticklabelindex=-1
)
)

on this page

I do not see the corresponding code in this page

Can we use ticklabelindex in plotly when using R? Please clarify.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the Plotly Python axes example with the Plotly R axes page linked in the issue, focusing on the ticklabelindex option and period-end labeling. Confirm whether the option is supported in R and clarify the corresponding usage or document its limitation on the R page.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.