AdhereR icon indicating copy to clipboard operation
AdhereR copied to clipboard

Whitespace with show.legend = TRUE

Open dffyfe opened this issue 1 year ago • 1 comments

Hi Dan,

Hope all is well!

I've noticed the whitespace seems excessive when plotting with a legend.

I think this line in plotting.R

dims.total.width <- (dims.plot.x + max(dims.plot.width, dims.legend.width));

should be

dims.total.width <- max(dims.plot.x + dims.plot.width, dims.legend.width);

dffyfe avatar Jun 01 '23 10:06 dffyfe

Thanks, I'll look into it :) I don't remember why I did it this way (might have had a reason ?) Dan

ddediu avatar Jun 13 '23 07:06 ddediu