plotly / plotly/plotly.R

Alpha and Size legends entries are not visible

Open
#707 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The Alpha and Size aesthetics attributes don't have any legend reference

gg <- ggplot(data = mtcars,aes(x=disp,y=hp,size=qsec,alpha=cyl)) + geom_point()

ggplotly(gg)

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

Reproduce the reported example with mtcars, ggplot, and ggplotly to inspect the generated plot. Trace how the Alpha and Size aesthetics are converted into legends, and consider the work complete when both legend entries are visible in the resulting plot.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.