Skip to content

v0.3.2

Compare
Choose a tag to compare
@LSYS LSYS released this 14 Dec 04:20
· 10 commits to main since this release
55c76f1

What's Changed

  • Patch to fix bug for newer matplotlib versions (by @LSYS in #85).
  • Thanks to @maikia for flagging and @Tian-hao for solution (#82).
  • No user-facing changes.

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

Full Changelog: v0.2.2...v0.3.2