[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:
Actual End:

 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 Mon Feb 24 16:55:40 CET 2020 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.