Open Esword618 opened 11 months ago
If this is for histograms only, could this be a hist issue? (I can transfer it.) If so, then the workflow would be
root_file["hist_name"].to_hist().plotly()
I can transfer this issue if that's the case.
If this is also for TGraphs, then something would have to be done in Uproot as well.
It might also make sense for this to be an extremely lightweight package, uproot-plotly
, that provides functions that extract data from Uproot (and hist's?) public APIs and sends them to plotly. It's already the case that hist's Matplotlib plotting is handled by a lightweight package, mplhep.
scientific-python/cookie makes short work of creating a new package. (Dividing work-to-do into small packages that only access other packages through public APIs is a good way to keep the ecosystem maintainable, and it provides exposure to early career developers because each package has a clear author.)
ok,thanks.
plotly's graph is interactive, making it easier to see the data directly when analyzing it.