Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whitespace with show.legend = TRUE #200

Open
dffyfe opened this issue Jun 1, 2023 · 1 comment
Open

Whitespace with show.legend = TRUE #200

dffyfe opened this issue Jun 1, 2023 · 1 comment
Assignees

Comments

@dffyfe
Copy link
Collaborator

dffyfe commented Jun 1, 2023

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);

@ddediu
Copy link
Owner

ddediu commented Jun 13, 2023

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

@ddediu ddediu self-assigned this Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants