Closed cbrisboi closed 3 years ago
Hm, I see. The tests only run on fHit maps. Do we have any maps/IRFs with 2D binning that are publicly available? Then we could add this to the unit tests.
In any case, try just removing the dtype=int
. I think that current versions of matplotlib should be able to handle alphanumeric data points.
Fixed in #64
Describe the bug When using hawc_hal with the 2D bins, if one wants to plot the binned count residuals one get an error
To Reproduce
Here is a minimal example produced from the Markarian example in the README.
Expected behavior I expect a plot to be output, and saved. A clear and concise description of what you expected to happen.
Log files
Desktop (please complete the following information): (not a desktop, but its the machine I'm running on)
Additional context I should have some time to investigate this next week.