vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

plot text size too small

Open MOKA1066 opened this issue 1 year ago • 0 comments

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 Snipaste_2024-09-14_14-09-41

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

MOKA1066 avatar Sep 14 '24 06:09 MOKA1066