REditorSupport / REditorSupport/vscode-R
plot text size too small
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 139
- Avg merge
- 2h 46m
- Merged PRs (30d)
- 5
Description
Describe the bug
I plotted a figure but the text size is too small.
The left figure is plotted using vscode-R, and the right one is plotted using R.app.
To Reproduce
library(mlr3)
library(mlr3verse)
library(mlr3learners)
library(mlr3filters)
library(mlr3fselect)
library(mlr3pipelines)
library(mlr3viz)
library(tidyverse)
library(patchwork)
library(FSelectorRcpp)
rm(list = ls())
task = tsk('german_credit')
learner_log_reg = lrn('classif.log_reg', predict_type = 'prob')
learn_rf = lrn('classif.ranger', predict_type = 'prob')
resampling = rsmp('cv', folds = 3)
design = benchmark_grid(task, list(learn_rf, learner_log_reg), resampling)
bmr = benchmark(design)
autoplot(bmr)
Screenshots
Environment (please complete the following information):
-
OS: macOS
-
vscode-R version: 2.8.4
---R version---
platform aarch64-apple-darwin20
arch aarch64
os darwin20
system aarch64, darwin20
status
major 4
minor 4.1
year 2024
month 06
day 14
svn rev 86737
language R
version.string R version 4.4.1 (2024-06-14)
nickname Race for Your Life
---vscode version---
Version: 1.93.1 (Universal)
Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40
Date: 2024-09-11T17:20:05.685Z (2 days ago)
Electron: 30.4.0
ElectronBuildId: 10073054
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 20.6.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the supplied R reproduction through vscode-R, focusing on the autoplot(bmr) entry point and comparing its output with R.app on the listed macOS environment. Done means identifying whether vscode-R causes the smaller text and documenting or correcting the plotting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100