Skip to content

Conversation

@stephaniereinders
Copy link
Member

For some reason, plot_cluster_centers() would occasionaly not display the plot. Even on the same input template, sometimes the function would show the plot and sometimes it wouldn't. I can't find any reason why ggplot2::theme_void() would cause this problem, but changing it to ggplot2::theme_bw() fixes the bug.

…void()`

For some reason, `plot_cluster_centers()` would occassionaly not display the plot. Even on the same input template, sometimes the function would show the plot and sometimes it wouldn't. I can't find any reason why `ggplot2::theme_void()` would cause this problem, but changing it to `ggplot2::theme_bw()` fixes the bug.
@stephaniereinders stephaniereinders linked an issue Apr 30, 2025 that may be closed by this pull request
@stephaniereinders stephaniereinders merged commit e5c693b into master Apr 30, 2025
6 checks passed
@stephaniereinders stephaniereinders changed the title fix: bug in plot_cluster_centers() by removing `theme_void() fix: bug in plot_cluster_centers() by removing theme_void() Apr 30, 2025
@stephaniereinders stephaniereinders deleted the 221-fix-plot-cluster-centers branch April 30, 2025 18:35
@codecov
Copy link

codecov bot commented Apr 30, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.47%. Comparing base (7f61cd0) to head (afec16a).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #222   +/-   ##
=======================================
  Coverage   92.47%   92.47%           
=======================================
  Files          25       25           
  Lines        3483     3484    +1     
=======================================
+ Hits         3221     3222    +1     
  Misses        262      262           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Successfully merging this pull request may close these issues.

Bug in plot_cluster_centers() plot doesn't always appear

2 participants