Go HEP release 0.34.0
Release v0.34.0
is out of the oven.
This release contains no major API breakage, but all around improvements and bug fixes.
hplot
- hplot/vgop: a new package to implement JSON serialization of
gonum/plot
canvases
p := hplot.New()
// ...
err := hplot.Save(p, 10*vg.Centimeter, 20*vg.Centimeter, "plot.json")
-
hplot
is now usinggonum/plot@v0.14.0
which has the necessary infrastructure to get nicer timeseries axes. See the provided examples (here) for thehplot.Ticks
type. -
hplot
has gained some basic capability to display the legend (a color palette with numbers) of a 2D plot. See the provided example. -
added a convenience forward function for
gonum/plot/plotter.NewLinePoints
(ashplot.NewLinePoints
)
groot
- added support for ROOT
6.28/04
- groot/rjson: a new package to implement JSROOT-compatible JSON serialization of
groot
’s histogram types (rhist.H{1,2}x
)
h, err := f.Get("h1d")
raw, err := rjson.Marshal(h)
See the complete example here.
groot/rtree
is now able to read trees created by Geant4 in multithreaded mode (see here for more details).- added support for the “new”
TLeafG
branch.
Changelog
- 6e9be99e all: bump gioui@v0.30, x/{crypto,exp,image,text,tools}@latest
- 970796df hplot{,vgop}: add support for Save(“foo.json”)
- e1cbaa61 hplot/vgop: first import
- 301b96c6 groot/rjson: first import
- d280b3c9 groot: implement RSlicer for TH{1,2}x
- 8795baec groot/rbytes: introduce RSlicer interface
- 8631271d cmd/root2arrow: use latest arrow-cat for tests
- 1d490da0 cmd/root2npy: use internal/diff
- 0e69116b groot: add tests for TLeafG
- 85fd5fd9 groot: add support for TLeafG
- 7cb2fac8 groot: bump to ROOT 6.28/04
- 548d277c groot/rtree: handle parallel-merged TBaskets
- 404ed51c ci: bump staticcheck@2023.1.5
- d41b03d0 hplot: add NewLinePoints forward
- b6113fad hplot: add timeseries examples with epok
- 948b0093 hplot: add automatic legend creation to H2D
- d26c986b hplot: add support for legend to Figure
- 02946662 hplot: forward plot.Legend
- d0eea6ab fwk: bump to gonuts/commander@v0.4.1
- fa91d5d0 all: bump Gonum@v0.14.0, Gioui@v0.2.0
- 233c6a47 all: bump Go-1.21, drop Go-1.19
- d85e15f7 groot/cmd/root-gen-streamer: use an in-memory buffer for generation
- c00ff1a0 hplot: update examples
- 8c9cc408 hplot: update embedmd invocation
- 673ab4c5 ci: improve mk-release to setup symlinks