REditorSupport / REditorSupport/vscode-R

Toggle style makes the colors of R plot points (lines, paths) being black

Open
#1,416 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug stale
Dominant language
TypeScript
Stars
1.2k
Forks
139
Avg merge
2h 46m
Merged PRs (30d)
5

Description

There is an example:

plot(rnorm(100), col = "red")
image

By now, commenting the line stroke: var(--vscode-foreground) !important; in https://github.com/Ikuyadeu/vscode-R/blob/master/html/httpgd/styleOverwrites.css#L14 temporarily solves the problem.

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 issue with plot(rnorm(100), col = "red") in the VS Code R plot view, then inspect html/httpgd/styleOverwrites.css around the stroke rule at line 14. The work is done when toggling the style no longer turns plot points, lines, or paths black and the red plot remains red.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, r, vscode
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.