TH2D Color Palette glitch

Could there be a problem since I am using PyROOT? your example code on the help page works fine when I run it as a macro.

Here’s test code I wrote “test.py”. Both canvases appear identical although I use “COLZ” on one, and “COLZ0” on another.

Also here is macro “colz.C” that opens up the test.root file that test.py made and draws the histogram ‘test’ with the COLZ0 option, and it also draws the example code COLZ vs. COLZ0. oddly, in the example code the COLZ0 option works, but the COLZ0 option doesn’t work for the histogram ‘test’ in my ‘test.root’.
colz.C (792 Bytes)
test.py (460 Bytes)