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

ggplot2::sec_axis is unsupported

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

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
r

Research direction

Start by reproducing the ggplot2::scale_y_continuous(sec.axis = ggplot2::sec_axis(~ . / scale_factor)) example and inspect how plotly.R handles ggplot2 scales. Define the expected secondary-axis behavior and verify that the example renders correctly in an interactive plot; the issue does not name files or tests to run.

Written by the indexing model from the issue text.

Description

Hello!

When I use ggplot2::scale_y_continuous(sec.axis = ggplot2::sec_axis(~ . / scale_factor)) like this, I discovered that plotly does not support this function. Providing support for this function would greatly assist developers like myself who are accustomed to ggplot but wish to utilise plotly's interactive capabilities.

Thanks.

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.