Skip to content

22 add legend to the hr forest plot - #28

Merged
wangben718 merged 6 commits into
mainfrom
22-add-legend-to-the-hr-forest-plot
Oct 29, 2025
Merged

22 add legend to the hr forest plot#28
wangben718 merged 6 commits into
mainfrom
22-add-legend-to-the-hr-forest-plot

Conversation

@fukuhiro2023

Copy link
Copy Markdown
Collaborator

This PR includes:

  • Update format_hr_forestly and related functions to add a legend for HR forest plot.
  • Adding digits_km_curves to format_hr_forestly so that users can control the disply digits of survival probability in KM curves.
  • Rename drigits in format_hr_forestly to digits_hr for clarification

Updated output

2025-10-24_kmcurvely_forest_add-legend

@LittleBeannie LittleBeannie left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @fukuhiro2023! I approve.

One minor comment: can we name digits_km_curves as digits_surv? This is because there are many numbers in the KM plots, and we are only adjusting the y-axis of the KM plots, which is the survival over time.

@fukuhiro2023

Copy link
Copy Markdown
Collaborator Author

One minor comment: can we name digits_km_curves as digits_surv? This is because there are many numbers in the KM plots, and we are only adjusting the y-axis of the KM plots, which is the survival over time.

Thanks for your review. Sure, I have updated.

@fukuhiro2023 fukuhiro2023 linked an issue Oct 28, 2025 that may be closed by this pull request
@wangben718
wangben718 merged commit c232ec6 into main Oct 29, 2025
8 checks passed
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.

Allow users to customize the surv prob digits in the interactive KM plots Add legend to the HR forest plot

3 participants