r-lib / gtable

The layout packages that powers ggplot2
https://gtable.r-lib.org
Other
87 stars 18 forks source link

Finer control of gtable_show_layout #57

Closed ArtemSokolov closed 5 years ago

ArtemSokolov commented 7 years ago

In the current implementation, gtable_show_layout() uses default parameter settings of grid::grid.show.layout(). One can call grid.show.layout() directly, but since gtable_layout() is not exported, the user would first have to construct the layout object "by hand". The proposed change offers a small convenience in being able to adjust display parameters (such as vp.ex) directly through gtable_show_layout().

thomasp85 commented 5 years ago

Implemented as part of a larger PR. Thanks