r-lib / gtable

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

Add z for gtable_matrix, gtable_row, and gtable_col #18

Closed wch closed 12 years ago

wch commented 12 years ago

This is for hadley/ggplot2#603.

wch commented 12 years ago

I'm not sure if the way that I do it, with z=NULL as the default and turning it into Inf before sending it to gtable_add_grob is good. The alternatives are to use a default of z=Inf here, or to change gtable_add_grob to allow z=NULL, and convert it to Inf there.