We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fd23d2 commit df59a03Copy full SHA for df59a03
docs/src/writingtoroot.md
@@ -49,7 +49,7 @@ julia> function to_pyhist(h::Hist1D)
49
end
50
51
julia> pywith(up.recreate("./example.root")) do file
52
- file["myhist"] = np.array(bincounts(h)), np.array(binedges(h))
+ file["myhist"] = to_pyhist(h)
53
end;
54
```
55
0 commit comments