dfm / dfm/corner.py

Add units to labels but not titles?

Open
#132 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'm wondering if there is way to add units after the numbers on the title. For example, the title currently shows 3+-0.5, could this be modified to 3+- 0.5 m/s ?

Conversely if it is possible to add units to just the labels and not the title text, as suggested in #124 ?
I'd prefer to not have it as K (m/s) = 3 +- 0.5, but rather K = 3+-0.5 m/s in the title if possible.

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

No file or test is named. Start by tracing how corner.py formats plot titles and axis labels, then review the related discussion in #124; done means the chosen unit placement is implemented consistently and covered by tests for both title and label output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.