I am confused about this example in the THistPainter documentation
root.cern.ch/root/html520/THistP … r_53_c2_A0
If I execute the script, (copy and paste source from web page into a file and execute the file with .x) I get only the black contour lines (see c2a.png). After clicking somewhere in the middle of the canvas with the middle mouse button, the images changes to something else but the result is still not the desired one.
Is the example broken, or is this a “feature” of my root installation (ROOT 5.20).
you are right … I’ll check. … That’s weird … I’ll let you know.
Ok I found the problem. For some reason I do not understand yet the frame fill style is not empty. If you add:
After the canvas creation it will work. I will fix that. Thanks to have seen and reported it.
Thanks for having a look at this. Your quick workaround works fine for me.
Although not being a major problem, the “middle-mouse-button-feature” still remains. So probably I tipped over two independent problems in ROOT. However not middle clicking on a canvas doesn’t seem to be too hard for me, so I’m fine with the workaround above.
This problem is now fixed in the SVN trunk. Thanks to have seen it.