Skip to content

v0.3.0

Compare
Choose a tag to compare
@LSYS LSYS released this 03 Mar 06:34
· 20 commits to main since this release

What's Changed

Main user-facing change is that no drawing of CI (confidence intervals) is now possible.

  • Allow no drawing of CI #58
  • Update docs accordingly to reflect that ll and hl options are no longer required

Forestplot

forestplot is a Python package to make publication-ready but customizable coefficient 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
              )

image

No CI:

fp.forestplot(df,  # the dataframe with results data
              estimate="r",  # col containing estimated effect size 
              varlabel="label",  # column containing variable label
              )

image

See the README for more customizations.

Full Changelog: v0.2.2...v0.3.0