-
Notifications
You must be signed in to change notification settings - Fork 9
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
Fixes to plot_cpue #171
base: main
Are you sure you want to change the base?
Fixes to plot_cpue #171
Conversation
@mcgoodman Thank you for creating this pull request. It is difficult to determine exactly what has been changed because it looks like the existing code may have been cut and pasted into if statements. Many of the plotting functions have width and height arguments, so I think it is reasonable that that functionality be available here as well. However, the way it is handled in this pull request is inconsistent with other functions with this functionality. Here are my initial comments, questions, and requests:
|
Hi Chantel! Apologies for the copy and pasting, I should have added the if() statements around the existing code blocks. To clarify, the actual plot code is unchanged. To clarify, for (2), the function will still accept width and height arguments via The last bullet point was just meant to say that I reordered the arguments so that |
@iantaylor-NOAA Thanks for the tip! That is super useful. |
Added back in the height and width arguments! Syntax should not be consistent with the other plot functions. |
Fixes the following small errors in
plot_cpue
.plot
argument ignoredAlso allows for additional arguments to
ggsave
(other than height and width), e.g. dpi, scaling, device.