Problem drawing a TH2F with one bin

When I do this:

TH2F * myhist7 = new TH2F("my_hist7","my_hist7",1,-1,1,1,-1,1)

and then fill the TH2F 39 times like this

myhist7->Fill(0.5,0.5)

and then draw the histogram like this

myhist7->SetMarkerStyle(8)
myhist7->Draw()

not all of the points appear on the histogram. Only like 5% of the points actually appear on the histogram.

Should I submit a bug report?

When you do not specify any option, the SCAT option is use
See what the SCAT option does:
root.cern.ch/root/html534/THistPainter.html#HP11
And you will understand what you get.

From that link it seems like it should draw some number of scattered points. I still don’t really understand why there are 0 points.

well … with one bin that’s a bit hard to predict what you will get…
the number of points is proportional to the content.
Let say it can go from 0 (for the lowest bon) to 50 (for the highest bin).
but here you have lowest = highest … so it can 0 or 50… it is 0