Open fernandoroa opened 6 months ago
Description In VSCode, while using
{ "r.plot.useHttpgd": true, }
in settings.json, instead of false, which doesn't show the problem, the font, or the spacings of it are not respected
false
To Reproduce Make a ggplot and use mono
mono
library(readr) library(dplyr) library(ggplot2) salary_data_file <- "https://raw.githubusercontent.com/datavizpyr/data/master/SO_data_2019/2019_Stack_Overflow_Survey_Education_Salary_US.tsv" salary_data <- read_tsv(salary_data_file) salary_data[salary_data$Education == "Bachelor's",]$Education <- "123 789 345" salary_data[salary_data$Education == "Master's",]$Education <- "12345 789 12345" salary_data %>% ggplot(aes(x=Education, y=CompTotal)) + geom_boxplot()+ coord_flip() + theme( axis.text.y = element_text(family = "mono", size = rel(1)) )
Expected behavior To see correctly the font and spacing as when using false, respect number of spaces
Screenshots with: false
with: true
true
Environment:
Maybe font issue? #138
@fernandoroa Use figure spaces. See also non-breaking space.
Description In VSCode, while using
in settings.json, instead of
false
, which doesn't show the problem, the font, or the spacings of it are not respectedTo Reproduce Make a ggplot and use
mono
Expected behavior To see correctly the font and spacing as when using
false
, respect number of spacesScreenshots with:![Screenshot from 2023-12-17 09-19-25](https://github.com/nx10/httpgd/assets/98838147/793a3c48-e825-4ad4-9802-11515c3a3685)
false
with:![Screenshot from 2023-12-17 09-14-03](https://github.com/nx10/httpgd/assets/98838147/62dc5a39-c6ca-4eea-8edd-5af55a61e3dd)
true
Environment: