StatisticsNZ / simplevis

Simple visualisation with ggplot2 and leaflet wrappers
https://StatisticsNZ.github.io/simplevis
Other
86 stars 11 forks source link

size_point: generally defaults to 1. Should have defaulted 1.5 like ggplot2 and base #390

Closed davidhodge931 closed 2 years ago

davidhodge931 commented 2 years ago

Looks different on different resolution screens

1 looks good on surface pro

1.5 looks better on my home computer

davidhodge931 commented 2 years ago
library(simplevis)
library(palmerpenguins)
library(ggplot2)

gg_point(penguins, 
         x_var = bill_length_mm, 
         y_var = body_mass_g)

gg_point(penguins, 
         x_var = bill_length_mm, 
         y_var = body_mass_g, 
         size_point = 1.5)

ggplot(penguins) +
  geom_point(aes(x = bill_length_mm, y = body_mass_g))

plot(penguins$bill_length_mm, penguins$body_mass_g)
davidhodge931 commented 2 years ago

Done