plotly / plotly/plotly.R

autoplotly generic similar to ggplot2::autoplot

Open
#1,885 2 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

Would you consider an autoplotly() generic similar to ggplot2::autoplot()? We have a number of classes (in proprietary packages) for which we have created default plotting methods that use plotly. We can create our own autoplotly() generic, but I thought it might be of interest to others as well. Something as simple as:

autoplotly <- function(object, ...) {
  UseMethod("autoplotly")
}

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

Start by reviewing the package's existing exported generics and the linked ggplot2::autoplot reference. Confirm the intended public API and method-dispatch behavior for the proposed autoplotly() generic; done means the agreed generic is integrated consistently with the package and its behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.