grantmcdermott / tinyplot

Lightweight extension of the base R graphics system
https://grantmcdermott.com/tinyplot
Apache License 2.0
211 stars 7 forks source link

bg arg not working #49

Closed grantmcdermott closed 1 year ago

grantmcdermott commented 1 year ago

Compare:

plot(0:10, pch = 21, col = "black", bg = "red", main = "plot")


library(plot2)
plot2(0:10, pch = 21, col = "black", bg = "red", main = "plot2")

Created on 2023-07-27 with reprex v2.0.2

We probably want to support bg = "by" too, so that we can support something like plot2(..., col = "white", bg = "by").