grantmcdermott / tinyplot

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

tinyplot themes #234

Open grantmcdermott opened 1 week ago

grantmcdermott commented 1 week ago

Similar to ggplot2's built-in themes, it would be cool if we could support a minimal set of tinyplot themes.

Some quick thoughts:

zeileis commented 1 week ago

Regarding the themes, I agree with your suggestions. But I cannot contribute much at the moment because I'm not familiar with the details of how basetheme works (and where it doesn't work).

Regarding the dynamic resizing, I agree this would be useful in many situations, especially when there is no main title and we just waste a lot of space. However, I would make that functionality optional in order to keep the compatibility with the base plot() function (which is also one of the design goals, isn't it?).