posit-dev / posit-dev/positron

Distorted/blurred plots in plot-pane for specific scaling settings

Open
#3,698 13 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: plots bug investigate lang: r support
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

Plots created with ggplot are quite distorted/blurred, in particular labels. See:

image

And also for this small reprex.

ggplot2::ggplot(iris, ggplot2::aes(x = Sepal.Width, y = Sepal.Length)) +
  ggplot2::geom_point()

image

I'm using Positron on Windows 11.

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 in the plot-pane rendering path and reproduce the issue on Windows 11 with the supplied ggplot2 iris example and the reported scaling settings. Compare the rendered plot and labels under affected and unaffected settings; done means plots and labels are no longer distorted or blurred.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.