Skip to content

Make x-axis binned in histogram example#294

Open
agbuckley wants to merge 1 commit intoHEPData:mainfrom
agbuckley:patch-1
Open

Make x-axis binned in histogram example#294
agbuckley wants to merge 1 commit intoHEPData:mainfrom
agbuckley:patch-1

Conversation

@agbuckley
Copy link

@agbuckley agbuckley commented Mar 20, 2026

There's currently no examples of binned data, even though most HD data is binned, and even this specific example is taken from a binned histo.

Just from the perspective of having an illustration of all the features in the docs/examples, this seems a natural place to show how binned axes should be entered. Hopefully it is also a reasonably obvious place to look for how to represent binned histograms, even when the binned data doesn't need to be read from ROOT files.


📚 Documentation preview 📚: https://hepdata-lib--294.org.readthedocs.build/en/294/

There's currently no examples of binned data, even though most HD data is binned, and even this specific example is taken from a binned histo.

Just from the perspective of having an illustration of all the features in the docs/examples, this seems a natural place to show how binned axes should be entered. Hopefully it is also a reasonably obvious place to look for how to represent binned histograms, even when the binned data doesn't need to be read from ROOT files.
@codecov
Copy link

codecov bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.21%. Comparing base (b7010db) to head (58317fd).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #294   +/-   ##
=======================================
  Coverage   92.21%   92.21%           
=======================================
  Files           5        5           
  Lines        1118     1118           
  Branches      237      237           
=======================================
  Hits         1031     1031           
  Misses         60       60           
  Partials       27       27           
Flag Coverage Δ
unittests-3.10 90.59% <ø> (ø)
unittests-3.11 90.59% <ø> (ø)
unittests-3.12 90.59% <ø> (ø)
unittests-3.13 90.59% <ø> (ø)
unittests-3.6 90.15% <ø> (ø)
unittests-3.7 90.15% <ø> (ø)
unittests-3.8 91.94% <ø> (ø)
unittests-3.9 90.33% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@GraemeWatt GraemeWatt requested a review from clelange March 20, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant