v0.3.0
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
andhl
options are no longer required
Forestplot
forestplot
is a Python package to make publication-ready but customizable coefficient plots.
- GitHub repo: https://github.com/LSYS/forestplot
- Docs: https://forestplot.readthedocs.io
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
)
No CI:
fp.forestplot(df, # the dataframe with results data
estimate="r", # col containing estimated effect size
varlabel="label", # column containing variable label
)
See the README for more customizations.
Full Changelog: v0.2.2...v0.3.0