Skip to content

Commit df59a03

Browse files
authored
fix typos
1 parent 2fd23d2 commit df59a03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/writingtoroot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ julia> function to_pyhist(h::Hist1D)
4949
end
5050

5151
julia> pywith(up.recreate("./example.root")) do file
52-
file["myhist"] = np.array(bincounts(h)), np.array(binedges(h))
52+
file["myhist"] = to_pyhist(h)
5353
end;
5454
```
5555

0 commit comments

Comments
 (0)