Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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.

Assessment

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

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.

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.

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

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.

More from plotly/plotly.R

All issues in plotly/plotly.R

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.