FelixTheStudent / cellpypes

Cell type pipes for R
GNU General Public License v3.0
51 stars 3 forks source link

plot_last: make plots the same size #15

Closed FelixTheStudent closed 2 years ago

FelixTheStudent commented 2 years ago

Plot_last creates two plots:

It's notoriously difficult to make the two plots align vertically, because they are different in width. The rel_widths ratio varies depending on how many digits the maximum expression has (as this is displayed in feat's legend).

Solution I'd like to implement:

FelixTheStudent commented 2 years ago

The two plots now have the same width, and the CP10K legend is included as third plot. plot_last has the legend_rel_width argument to control the size of this legend.