plotly / plotly/plotly.R

Ggpattern integration.

Open
#2,279 1 comment 5 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

When working with ggplot2 I would like to render a textured filling with ggpattern and more particularly with ggpattern::geom_polygon_pattern().

library(ggplot2)
library(ggpattern)
library(plotly)
g <- ggplot(mtcars) +geom_boxplot_pattern(aes(x=mpg))
ggplotly(g)

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 reproducing the supplied R example with ggplot2, ggpattern::geom_boxplot_pattern(), and ggplotly(). Trace how ggplot2 layers are converted when the textured ggpattern layer is passed to plotly, then define completion as the example rendering correctly in the interactive output, with appropriate coverage added to the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.