-
Notifications
You must be signed in to change notification settings - Fork 21
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
finish off plotly implementation #176
Conversation
added a new function and changed ptd_create_ggplot
it calls from ptd_create_ggplot now. it is added in the namespace. ptd_create_ggplot restored to how it was.
changing from ggplot to plotly
removed the duplicated logic between the two icon functions by extracting into a separate function simplify the logic in the plotly icon creation
@marcosfabietti would be good to get a check from you that the plotly implementation is still working! :-) I've also pushed some changes to the actions as they are out of date |
I've just noticed there is a bug with icons and facetted plots - all of the icons get inserted in the top right of the plot, not the facet. Thinking quickly about facets and icons, I can't really see a way that this could ever look sensible (the size of the icons would quickly start dominating the entire plot area). So, I suggest if the plots are facetted then we set icon position to "none" and give a warning if it wasn't already "none" |
tested it and you are right! removing it is the way to go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a fantastic addition and I can't see any problems having run the code. Amazing work!
finishes off the plotly implementation by adding in unit tests and sorting out check issues
resolves #126
covr::report()
(should aim for 100%)devtools::document()
lintr::lint_package()
and resolved all lint warnings and notesstyler::style_pkg()
to make sure code matches the style guidelines