Skip to content

Commit

Permalink
[TDF] Use DrawClone instead of Draw in tutorial root-project#7
Browse files Browse the repository at this point in the history
  • Loading branch information
eguiraud committed Aug 7, 2017
1 parent 4621c0e commit 7847554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/dataframe/tdf007_snapshot.C
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ int tdf007_snapshot()
auto snapshot_tdf = d2.Snapshot<int>(treeName, outFileName, {"b1_square"});
auto h = snapshot_tdf.Histo1D();
auto c = new TCanvas();
h->Draw();
h->DrawClone();

return 0;
}

0 comments on commit 7847554

Please sign in to comment.