dfm / dfm/corner.py

multiple line style for quantiles

Open
#208 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
576
Forks
234
PR merge metrics
No merged PRs in 30d

Description

I want to thank the author first for the excellent tool, corner.py.
It does help me a lot plotting MCMC results.

I usually plot five quantiles: median, 1-sigma, and 2-sigma. So, it is not easy to catch the median immediately when seeing the histograms since all the quantiles are indicated with dashed lines.
It will be great if corner.py provides an option to set the line style of quantiles;
for example, quantiles=[0.16, 0.5, 0.84], q_ls=['dotted', 'dashed', 'dotted']

Thanks in advance for your consideration-

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the quantile plotting path in corner.py and inspect how the requested quantiles are currently drawn. The change is complete when callers can provide a separate line style for each quantile, including the median example described in the issue, and the resulting corner plots use those styles.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.