Skip to content

Release v0.34.0

Compare
Choose a tag to compare
@sbinet sbinet released this 08 Sep 16:48
· 69 commits to main since this release

DOI

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 using gonum/plot@v0.14.0 which has the necessary infrastructure to get nicer timeseries axes. See the provided examples (here) for the hplot.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 (as hplot.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

  • 6e9be99 all: bump gioui@v0.30, x/{crypto,exp,image,text,tools}@latest
  • 970796d hplot{,vgop}: add support for Save("foo.json")
  • e1cbaa6 hplot/vgop: first import
  • 301b96c groot/rjson: first import
  • d280b3c groot: implement RSlicer for TH{1,2}x
  • 8795bae groot/rbytes: introduce RSlicer interface
  • 8631271 cmd/root2arrow: use latest arrow-cat for tests
  • 1d490da cmd/root2npy: use internal/diff
  • 0e69116 groot: add tests for TLeafG
  • 85fd5fd groot: add support for TLeafG
  • 7cb2fac groot: bump to ROOT 6.28/04
  • 548d277 groot/rtree: handle parallel-merged TBaskets
  • 404ed51 ci: bump staticcheck@2023.1.5
  • d41b03d hplot: add NewLinePoints forward
  • b6113fa hplot: add timeseries examples with epok
  • 948b009 hplot: add automatic legend creation to H2D
  • d26c986 hplot: add support for legend to Figure
  • 0294666 hplot: forward plot.Legend
  • d0eea6a fwk: bump to gonuts/commander@v0.4.1
  • fa91d5d all: bump Gonum@v0.14.0, Gioui@v0.2.0
  • 233c6a4 all: bump Go-1.21, drop Go-1.19
  • d85e15f groot/cmd/root-gen-streamer: use an in-memory buffer for generation
  • c00ff1a hplot: update examples
  • 8c9cc40 hplot: update embedmd invocation
  • 673ab4c ci: improve mk-release to setup symlinks