-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fix TF1::DrawCopy issue #19627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix TF1::DrawCopy issue #19627
Conversation
BP to 636 when all tests are passing? |
It needs more checks. It does not work yet. |
Interesting. I thought that copy-pasting
as done in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
Could you add this gtest?
TEST(TF1, DrawCopy)
{
auto f = new TF1("fa1","x*x",-3,3);
f->GetXaxis()->SetTitle("xtitle");
auto fcopy = f->DrawCopy();
EXPECT_EQ(fcopy->GetXaxis()->GetTitle(), "xtitle");
}
indeed I am on it |
Test Results 21 files 21 suites 3d 6h 6m 57s ⏱️ For more details on these failures, see this check. Results for commit 6a4bf66. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot! LGTM
It looks like the failures are not related to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ready to merge, thanks!!
TF1::Copy didn't copy fHistogram if it exited.
It fixes this issue: #13122