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

finish off plotly implementation #176

Merged
merged 24 commits into from
Jul 14, 2023
Merged

finish off plotly implementation #176

merged 24 commits into from
Jul 14, 2023

Conversation

tomjemmett
Copy link
Member

finishes off the plotly implementation by adding in unit tests and sorting out check issues

resolves #126

  • added unit tests and checked code coverage with covr::report() (should aim for 100%)
  • ran devtools::document()
  • ran lintr::lint_package() and resolved all lint warnings and notes
  • ran styler::style_pkg() to make sure code matches the style guidelines
  • ran R-CMD CHECK and resolved all issues

@tomjemmett tomjemmett requested a review from ThomUK July 13, 2023 15:46
@tomjemmett tomjemmett self-assigned this Jul 13, 2023
@tomjemmett tomjemmett added the enhancement New feature or request label Jul 13, 2023
@tomjemmett
Copy link
Member Author

@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

@marcosfabietti
Copy link
Contributor

image
tested:

  • with no target
  • with target
  • with less than 12 points
  • changing icon position

everything looks good!

@tomjemmett
Copy link
Member Author

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"

@marcosfabietti
Copy link
Contributor

tested it and you are right! removing it is the way to go

Copy link
Collaborator

@ThomUK ThomUK left a 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!

@tomjemmett tomjemmett merged commit a0c3e42 into main Jul 14, 2023
8 checks passed
@tomjemmett tomjemmett deleted the plotly branch July 14, 2023 10:11
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

Successfully merging this pull request may close these issues.

Plotly implementation
3 participants