GetYaxis().SetRangeUser() does not work

i have two TgraphErrors, with maximum y-values of 5 and 12 respectively.
when i draw them in a divided canvas and set range of y-axis to (0,12), the first one still drawn for (0,5).
any suggestion ?

ROOT Version: 6.24.00 (conda_forge)
Platform: ubuntu20.04 (wsl)
Compiler: gcc9

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.