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

Remove suppress_print functionality from plotting functions #21

Open
dbarneche opened this issue Nov 22, 2022 · 0 comments
Open

Remove suppress_print functionality from plotting functions #21

dbarneche opened this issue Nov 22, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@dbarneche
Copy link
Contributor

For some functions such as map_ereefs the map gets plotted twice, unless the user sets suppress_print, e.g.

This only happens when you do, e.g.

map_ereefs(target_date = c(2019, 2, 28))

instead of e.g.

p <- map_ereefs(target_date = c(2019, 2, 28))

The current solution to this is

map_ereefs(target_date = c(2019, 2, 28), suppress_print = TRUE)

But that goes against ggplots default behaviour to not print when assigned to an object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant