scikit-hep / uproot-browser

A TUI viewer for ROOT files
BSD 3-Clause "New" or "Revised" License
70 stars 7 forks source link

Fails to display TH2D #175

Open ast0815 opened 1 month ago

ast0815 commented 1 month ago

I am trying to browse this file: https://github.com/NUISANCEMC/nuisance/blob/main/data/MINERvA/NukeCC0pi_2D/nuke_cc0pi_2d.root

When I open it with uproot-browser and try to plot one of the 2D histograms in there, I only get an Exception:

image

I tried upgrading plotext, but it is already the newest version. TH1D work fine. Any ideas?

ast0815 commented 1 week ago

Does uproot-browser (or plotext) even support 2D histograms? I am trying to troubleshoot this, but am wondering whether I am wasting my time.

henryiii commented 5 days ago

I've asked here: https://github.com/piccolomo/plotext/issues/214

Looks like it's nearly possible, but the axis wouldn't be great.