I am doing the following
TH2F* myhist = new TH2F("myhist","myhist",2,0,2,2,0,2)
root  myhist->Fill(0.5,0.5)
root  myhist->Fill(0.5,1.5)
root  myhist->Fill(1.5,0.5)
root  myhist->Fill(1.5,1.5)
root  myhist->Draw()
and when I look at the resulting histogram it looks EMPTY.
This can be a problem when tryoing to check whether the histo is filled by eye, of cousre one can check the statistics, but one can also wonder whether there is a bug in the way his histo is filled.
Plotting the histo with “colz” does not help. One needs to use “lego”.
Is this a default? It would be nice to have the “colz” plot set to a single color with a palette (not empty) showing only one value.
This has use cases for plots that are expected to be uniform (for instance in calorimetry plots showing cells read-out at the hardware level).