LSYS/forestplot

Confidence interval and p-value labels have different height and fontsize

LSYS opened this issue · 0 comments

LSYS commented

The "Confidence interval" ylabel and the "P-value" headers have different height and fontsize:

import pandas as pd
import forestplot as fp

df = fp.load_data("sleep")

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
              pval="p-val",  # Column of p-value to be reported on right
              ylabel="Confidence interval",  # ylabel to print
              )

image