[ROOT-7389] SetCanExtend(TH1::kYaxis) does not work for a TProfile2D Created: 30/May/15  Updated: 15/May/19  Resolved: 01/Jun/15

Status: Closed
Project: ROOT
Component/s: None
Affects Version/s: 6.02/05
Fix Version/s: None

Type: Bug Priority: High
Reporter: Andrea Venturi Assignee: Lorenzo Moneta
Resolution: Fixed Votes: 0
Labels: None
Environment:

lxplus


Development:

 Description   

I have migrated my code from kCanRebin to SetCanExtend.
SetCanExtend(TH1::kXaxis) works fine for TProfile and TH1F. SetCanExtend (TH1::kYaxis) works fine for the Y axis of TH2F, but it does not work for TProfile2D for which I have to use SetCanExtend(TH1::kAllAxes). Is this expected?



 Comments   
Comment by Lorenzo Moneta [ 01/Jun/15 ]

This bug is now fixed in the master revision. I will also apply the fix in the 6.02 patches.
Thank you for reporting it

Cheers

Lorenzo

Generated at Sun Sep 22 01:31:49 CEST 2019 using Jira 7.13.1#713001-sha1:5e06076c2d215a6f699b7e5c90ab2fae7ba5a1ce.