Problem with SetLogz on TH2F on 5.28.00

Hi,

when you set the z axis to a log scale in a 2-d histogram, the colors disappear!

I am using root 5.28.00 on os x 10.6.5

thanks
Peter

Simple demo:

{
	gStyle->SetPalette(1);
	int n=100;
	TH2F *histo = new TH2F("testHisto", "testHisto", n, 0, n, n, 0, n);
	for (int i=0; i<n; i++)
		for (int j=0; j<n; j++)
			histo->SetBinContent(i+1,j+1,10*i+10);
			
	TCanvas *c1 = new TCanvas();
	c1->Divide(1,2);
	c1->cd(1);
	histo->Draw("colz");
	gPad->SetLogz();
	c1->cd(2);
	histo->Draw("colz");
}

This was a side effect of a bug fix.
It is now fixed in the svn trunk and in the patch release:
root.cern.ch/drupal/content/root … ease-notes
Sorry for that.