Skip to content

Release of Forestplot v0.1.0

Choose a tag to compare

@LSYS LSYS released this 21 Sep 15:05
· 36 commits to main since this release

forestplot is a Python package to make publication-ready but customizable forest plots.

To install via PyPI:

pip install forestplot

Quickstart:

import forestplot as fp
df = fp.load_data("sleep")  # companion example data

fp.forestplot(df,  # the dataframe with results data
              estimate="r",  # col containing estimated effect size 
              ll="ll", hl="hl",  # columns containing conf. int. lower and higher limits
              varlabel="label",  # column containing variable label
              ylabel="Confidence interval",  # y-label title
              xlabel="Pearson correlation"  # x-label title
              )

More customizations are available, for example: