_ROOT Version: 6.19
_Platform: OS 10.14.3
I have this code where I modify how a histogram looks and for some reason everything works fine except changing the range of the X axis.
I don’t get any error messages, the axis simply doesn’t change.
The worst part is that the code was working fine yesterday (yes, this is one of those cases).
So I’m pretty confused.
This is my code style.py (2.3 KB)
And this is the JSON file where it reads the style parameters;
{
"canvasSize":
[
2000,
5000
],
"GetXaxis":
{
"SetRangeUser":
[
300.0,
600.0
],
"SetTitle": "nm"
},
"GetYaxis":
{
"SetRangeUser": false,
"SetTitle": "Arbitrary Units"
},
"Rebin":
{
"ngroup": 7,
"newname": false,
"xbins": false
},
"Fit":
{
"fname": "gaus",
"option": false,
"goption": false,
"xxmin": false,
"xxmax": false
},
"SetTitle": "Spectrum of the sample",
"Draw": false
}