Can there be a global option to free the absolute plot dimensions? #84
Replies: 4 comments 2 replies
|
The idea to make absolute sizes the default was to ensure consistent visual proportions across font size, line thickness, aspect ratio, and plot elements. However, you can free the plot in one of these ways. Could there be a global option?Personally, I do not like global options because they can compromise reproducibility. With global options, the entire behavior of a function changes, just depending on whether another line of code was executed in the same session or not. Are there other work around? |
|
Whether in a script or a markdown document, I don’t see how a setting in the global options differs from code that loads a package or configures a global theme for graphics, for example, in terms of reproducibility. The best workaround that would work for me right now would be the |
|
I see. I will think about ways how support this. |
|
I have now merged this PR (#85) supporting global options in the dev version of tidyplots. You can give it a try by installing the dev version like so: |
Uh oh!
There was an error while loading. Please reload this page.
Per default tidyplots generates plots with absolute dimensions. We can free these plots to take all available space by doing
adjust_size(width = NA, height = NA. Can we make this the default?All reactions