teunbrand / ggnomics

A small project to add ggplot2 extensions
https://teunbrand.github.io/ggnomics/
Other
80 stars 4 forks source link

facet_nested() nest_line = TRUE won't repeat #3

Closed teunbrand closed 5 years ago

teunbrand commented 5 years ago

The lines indicating the nesting will return error:

 Error in gtable_add_grob(panel_table, indicator, t = switch(orient, x = pos_y +  : 
  Not all inputs have either length 1 or same length same as 'grobs' 

Probably fixable by providing a list of indicator grobs the same length as insert_here.

teunbrand commented 5 years ago

Fixed it, should come through next time I push