Skip to content

Thresholds and symbols are not getting passed through #51

Description

@LSYS

kwargs for thresholds and symbols are not getting passed through to the star_pval formatter.

For example,

importpandasaspdimportforestplotasfpdf=fp.load_data("sleep")
fp.forestplot(df, # the dataframe with results dataestimate="r", # col containing estimated effect size ll="ll", hl="hl", # columns containing conf. int. lower and higher limitsvarlabel="label", # column containing variable labelpval="p-val", # Column of p-value to be reported on rightcolor_alt_rows=True, # Gray alternate rowsylabel="Est.(95% Conf. Int.)", # ylabel to printdecimal_precision=3,
**{"thresholds":(0.001, 0.01, 0.05)}
)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions