From ce89e6157e714ac5a869fe2d636a672465c2c3c7 Mon Sep 17 00:00:00 2001 From: Carl Buchholz <32228189+aGuyLearning@users.noreply.github.com> Date: Tue, 21 Jan 2025 15:08:21 +0100 Subject: [PATCH] Fix documentation typo in cox_ph_forestplot function --- ehrapy/plot/_survival_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ehrapy/plot/_survival_analysis.py b/ehrapy/plot/_survival_analysis.py index 51ca9d11..7a7eff72 100644 --- a/ehrapy/plot/_survival_analysis.py +++ b/ehrapy/plot/_survival_analysis.py @@ -361,7 +361,7 @@ def cox_ph_forestplot( """Generates a forest plot to visualize the coefficients and confidence intervals of a Cox Proportional Hazards model. The `adata` object must first be populated using the :func:`~ehrapy.tools.cox_ph` function. This function stores the summary table of the `CoxPHFitter` in the `.uns` attribute of `adata`. - The summary table is created when the model is fitted using the :func:`~ehrapy.tl.cox_ph` function. + The summary table is created when the model is fitted using the :func:`~ehrapy.tools.cox_ph` function. For more information on the `CoxPHFitter`, see the `Lifelines documentation `_. Inspired by `zepid.graphics.EffectMeasurePlot `_ (zEpid Package, https://pypi.org/project/zepid/).