Skip to content

'show_titles' should reflect the specified quantiles (?) #107

@JamesSample

Description

@JamesSample

Not sure whether this is a very minor issue or just me misunderstanding the intended behaviour...

If I specify quantiles in my call to corner.corner(), I get vertical lines on the histograms at my specified quantiles, but the plot titles always assume quantiles=[0.16, 0.5, 0.84] (see here).

Shouldn't show_titles use the specified quantiles? Perhaps something like this for lines 277 to 282:

if title_fmt is not None:
    # Compute the quantiles for the title. This might redo
    # unneeded computation but who cares.
    q_l, q_50, q_u = quantile(x, quantiles, weights=weights)
    q_m, q_p = q_50-q_l, q_u-q_50

Thanks for an awesome package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions