diff --git a/csvutil/csvdriver/driver_test.go b/csvutil/csvdriver/driver_test.go index a2e365596..d49af5332 100644 --- a/csvutil/csvdriver/driver_test.go +++ b/csvutil/csvdriver/driver_test.go @@ -299,7 +299,7 @@ func TestCreateRollback(t *testing.T) { func TestOpenDriver(t *testing.T) { for _, fname := range []string{ - "https://github.com/go-hep/hep/raw/main/csvutil/csvdriver/testdata/types.csv", + "https://codeberg.org/go-hep/hep/raw/branch/main/csvutil/csvdriver/testdata/types.csv", "testdata/types.csv", } { t.Run(fname, func(t *testing.T) { diff --git a/fit/README.md b/fit/README.md index b08c782f9..36d5c409a 100644 --- a/fit/README.md +++ b/fit/README.md @@ -8,7 +8,7 @@ ### Fit a gaussian -![h1d-gaussian-example](https://github.com/go-hep/hep/raw/main/fit/testdata/h1d-gauss-plot_golden.png) +![h1d-gaussian-example](https://codeberg.org/go-hep/hep/raw/branch/main/fit/testdata/h1d-gauss-plot_golden.png) [embedmd]:# (hist_example_test.go go /func ExampleH1D_gaussian/ /\n}/) ```go @@ -96,7 +96,7 @@ func ExampleH1D_gaussian() { ### Fit a gaussian -![func1d-gaussian-example](https://github.com/go-hep/hep/raw/main/fit/testdata/gauss-plot_golden.png) +![func1d-gaussian-example](https://codeberg.org/go-hep/hep/raw/branch/main/fit/testdata/gauss-plot_golden.png) [embedmd]:# (curve1d_example_test.go go /func ExampleCurve1D_gaussian/ /\n}/) ```go @@ -168,7 +168,7 @@ func ExampleCurve1D_gaussian() { ### Fit a powerlaw (with Y-errors) -![func1d-powerlaw-example](https://github.com/go-hep/hep/raw/main/fit/testdata/powerlaw-plot_golden.png) +![func1d-powerlaw-example](https://codeberg.org/go-hep/hep/raw/branch/main/fit/testdata/powerlaw-plot_golden.png) [embedmd]:# (curve1d_example_test.go go /func ExampleCurve1D_powerlaw/ /\n}/) ```go @@ -251,7 +251,7 @@ func ExampleCurve1D_powerlaw() { ### Fit an exponential -![func1d-exp-example](https://github.com/go-hep/hep/raw/main/fit/testdata/exp-plot_golden.png) +![func1d-exp-example](https://codeberg.org/go-hep/hep/raw/branch/main/fit/testdata/exp-plot_golden.png) [embedmd]:# (curve1d_example_test.go go /func ExampleCurve1D_exponential/ /\n}/) ```go @@ -325,7 +325,7 @@ func ExampleCurve1D_exponential() { ### Fit a polynomial -![func1d-poly-example](https://github.com/go-hep/hep/raw/main/fit/testdata/poly-plot_golden.png) +![func1d-poly-example](https://codeberg.org/go-hep/hep/raw/branch/main/fit/testdata/poly-plot_golden.png) [embedmd]:# (curve1d_example_test.go go /func ExampleCurve1D_poly/ /\n}/) ```go @@ -396,7 +396,7 @@ func ExampleCurve1D_poly() { ## Fitting with more than one independent variable (x has more than one dimension) ### Fit a flat plane -![2d-example](https://github.com/go-hep/hep/raw/main/fit/testdata/2d-plane-plot_golden.png) +![2d-example](https://codeberg.org/go-hep/hep/raw/branch/main/fit/testdata/2d-plane-plot_golden.png) [embedmd]:# (curve_nd_example_test.go go /func ExampleCurveND_plane/ /\n}/) ```go diff --git a/groot/rsrv/rsrv_test.go b/groot/rsrv/rsrv_test.go index 9f3b056ce..e98f81d59 100644 --- a/groot/rsrv/rsrv_test.go +++ b/groot/rsrv/rsrv_test.go @@ -75,7 +75,7 @@ func TestOpenFile(t *testing.T) { uri string status int }{ - {"https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root", http.StatusOK}, + {"https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root", http.StatusOK}, {"root://ccxrootdgotest.in2p3.fr:9001/tmp/rootio/testdata/simple.root", http.StatusOK}, {"file://" + local, http.StatusOK}, } { @@ -90,8 +90,8 @@ func TestDoubleOpenFile(t *testing.T) { ts := newTestServer() defer ts.Close() - testOpenFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root", 0) - testOpenFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root", http.StatusConflict) + testOpenFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root", 0) + testOpenFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root", http.StatusConflict) } func testOpenFile(t *testing.T, ts *httptest.Server, uri string, status int) { @@ -201,10 +201,10 @@ func TestCloseFile(t *testing.T) { ts := newTestServer() defer ts.Close() - testOpenFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root", 0) - testCloseFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root") - testOpenFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root", http.StatusOK) - testCloseFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root") + testOpenFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root", 0) + testCloseFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root") + testOpenFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root", http.StatusOK) + testCloseFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root") } func testCloseFile(t *testing.T, ts *httptest.Server, uri string) { @@ -238,14 +238,14 @@ func TestListFiles(t *testing.T) { ts := newTestServer() defer ts.Close() - testOpenFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root", 0) - testOpenFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root", http.StatusOK) + testOpenFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root", 0) + testOpenFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root", http.StatusOK) testListFiles(t, ts, []File{ - {"https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root", 60600}, - {"https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root", 61400}, + {"https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root", 60600}, + {"https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root", 61400}, }) - testCloseFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root") - testCloseFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root") + testCloseFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root") + testCloseFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root") } func testListFiles(t *testing.T, ts *httptest.Server, want []File) { @@ -290,11 +290,11 @@ func TestDirent(t *testing.T) { ts := newTestServer() defer ts.Close() - testOpenFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root", http.StatusOK) - defer testCloseFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root") + testOpenFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root", http.StatusOK) + defer testCloseFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root") testDirent(t, ts, DirentRequest{ - URI: "https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root", + URI: "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root", Dir: "/", Recursive: false, }, []string{ @@ -302,11 +302,11 @@ func TestDirent(t *testing.T) { "/tree", }) - testOpenFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root", http.StatusOK) - defer testCloseFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root") + testOpenFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root", http.StatusOK) + defer testCloseFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root") testDirent(t, ts, DirentRequest{ - URI: "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root", + URI: "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root", Dir: "/", Recursive: false, }, []string{ @@ -316,7 +316,7 @@ func TestDirent(t *testing.T) { "/dir3", }) testDirent(t, ts, DirentRequest{ - URI: "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root", + URI: "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root", Dir: "/", Recursive: true, }, []string{ @@ -328,7 +328,7 @@ func TestDirent(t *testing.T) { "/dir3", }) testDirent(t, ts, DirentRequest{ - URI: "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root", + URI: "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root", Dir: "/dir1", Recursive: false, }, []string{ @@ -336,7 +336,7 @@ func TestDirent(t *testing.T) { "/dir1/dir11", }) testDirent(t, ts, DirentRequest{ - URI: "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root", + URI: "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root", Dir: "/dir1", Recursive: true, }, []string{ @@ -394,7 +394,7 @@ func TestTree(t *testing.T) { ts := newTestServer() defer ts.Close() - const uri = "https://github.com/go-hep/hep/raw/main/groot/testdata/small-flat-tree.root" + const uri = "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/small-flat-tree.root" testOpenFile(t, ts, uri, http.StatusOK) defer testCloseFile(t, ts, uri) @@ -505,10 +505,10 @@ func TestPlotH1(t *testing.T) { ts := newTestServer() defer ts.Close() - testOpenFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root", http.StatusOK) - defer testCloseFile(t, ts, "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root") + testOpenFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root", http.StatusOK) + defer testCloseFile(t, ts, "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root") - const uri = "https://github.com/go-hep/hep/raw/main/hbook/rootcnv/testdata/gauss-h1.root" + const uri = "https://codeberg.org/go-hep/hep/raw/branch/main/hbook/rootcnv/testdata/gauss-h1.root" testOpenFile(t, ts, uri, http.StatusOK) defer testCloseFile(t, ts, uri) @@ -525,7 +525,7 @@ func TestPlotH1(t *testing.T) { }, { req: PlotH1Request{ - URI: "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root", + URI: "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root", Dir: "/dir1/dir11", Obj: "h1", }, @@ -550,7 +550,7 @@ func TestPlotH1(t *testing.T) { }, { req: PlotH1Request{ - URI: "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root", + URI: "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root", Dir: "/dir1/dir11", Obj: "h1", Options: PlotOptions{ @@ -561,7 +561,7 @@ func TestPlotH1(t *testing.T) { }, { req: PlotH1Request{ - URI: "https://github.com/go-hep/hep/raw/main/groot/testdata/dirs-6.14.00.root", + URI: "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/dirs-6.14.00.root", Dir: "/dir1/dir11", Obj: "h1", Options: PlotOptions{ @@ -641,7 +641,7 @@ func TestPlotH2(t *testing.T) { ts := newTestServer() defer ts.Close() - const uri = "https://github.com/go-hep/hep/raw/main/hbook/rootcnv/testdata/gauss-h2.root" + const uri = "https://codeberg.org/go-hep/hep/raw/branch/main/hbook/rootcnv/testdata/gauss-h2.root" testOpenFile(t, ts, uri, http.StatusOK) defer testCloseFile(t, ts, uri) @@ -774,7 +774,7 @@ func TestPlotS2(t *testing.T) { ts := newTestServer() defer ts.Close() - const uri = "https://github.com/go-hep/hep/raw/main/groot/testdata/graphs.root" + const uri = "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/graphs.root" testOpenFile(t, ts, uri, http.StatusOK) defer testCloseFile(t, ts, uri) @@ -910,7 +910,7 @@ func TestPlotTree(t *testing.T) { ts := newTestServer() defer ts.Close() - const uri = "https://github.com/go-hep/hep/raw/main/groot/testdata/small-flat-tree.root" + const uri = "https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/small-flat-tree.root" testOpenFile(t, ts, uri, http.StatusOK) defer testCloseFile(t, ts, uri) diff --git a/groot/rtree/tree_test.go b/groot/rtree/tree_test.go index a7f086664..1ab32d104 100644 --- a/groot/rtree/tree_test.go +++ b/groot/rtree/tree_test.go @@ -346,7 +346,7 @@ func TestSimpleTree(t *testing.T) { func TestSimpleTreeOverHTTP(t *testing.T) { t.Parallel() - f, err := riofs.Open("https://github.com/go-hep/hep/raw/main/groot/testdata/simple.root") + f, err := riofs.Open("https://codeberg.org/go-hep/hep/raw/branch/main/groot/testdata/simple.root") if err != nil { t.Fatal(err) } diff --git a/hbook/ntup/ntcsv/example_test.go b/hbook/ntup/ntcsv/example_test.go index d69d8b16b..55dfebfa5 100644 --- a/hbook/ntup/ntcsv/example_test.go +++ b/hbook/ntup/ntcsv/example_test.go @@ -53,11 +53,11 @@ func ExampleOpen() { func ExampleOpen_fromRemote() { // Open a new n-tuple pointing at a remote CSV file - // "https://github.com/go-hep/hep/raw/main/hbook/ntup/ntcsv/testdata/simple.csv" + // "https://codeberg.org/go-hep/hep/raw/branch/main/hbook/ntup/ntcsv/testdata/simple.csv" // whose field separator is ';'. // We rename the columns v1, v2 and v3. nt, err := ntcsv.Open( - "https://github.com/go-hep/hep/raw/main/hbook/ntup/ntcsv/testdata/simple.csv", + "https://codeberg.org/go-hep/hep/raw/branch/main/hbook/ntup/ntcsv/testdata/simple.csv", ntcsv.Comma(';'), ntcsv.Columns("v1", "v2", "v3"), ) diff --git a/hbook/ntup/ntcsv/ntcsv_test.go b/hbook/ntup/ntcsv/ntcsv_test.go index 45e466feb..5fa9e3997 100644 --- a/hbook/ntup/ntcsv/ntcsv_test.go +++ b/hbook/ntup/ntcsv/ntcsv_test.go @@ -78,7 +78,7 @@ func TestOpen(t *testing.T) { ntcsv.Columns("v1", "v2", "v3"), }, }, - {"https://github.com/go-hep/hep/raw/main/hbook/ntup/ntcsv/testdata/simple-with-header.csv", `i64, f64, str`, + {"https://codeberg.org/go-hep/hep/raw/branch/main/hbook/ntup/ntcsv/testdata/simple-with-header.csv", `i64, f64, str`, []ntcsv.Option{ ntcsv.Header(), ntcsv.Columns("i64", "f64", "str"), diff --git a/hplot/README.md b/hplot/README.md index 5e101c4ef..66fc275c7 100644 --- a/hplot/README.md +++ b/hplot/README.md @@ -23,7 +23,7 @@ https://godoc.org/go-hep.org/x/hep/hplot ### 1D histogram -![hist-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/h1d_plot_golden.png) +![hist-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/h1d_plot_golden.png) [embedmd]:# (h1d_example_test.go go /func ExampleH1D/ /\n}/) ```go @@ -82,7 +82,7 @@ func ExampleH1D() { ### 1D histogram with y-error bars -![hist-yerrs-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/h1d_yerrs_golden.png) +![hist-yerrs-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/h1d_yerrs_golden.png) [embedmd]:# (h1d_example_test.go go /func ExampleH1D_withYErrBars/ /\n}/) ```go @@ -144,7 +144,7 @@ func ExampleH1D_withYErrBars() { ### 1D histogram with y-error bars, no lines -![hist-glyphs-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/h1d_glyphs_golden.png) +![hist-glyphs-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/h1d_glyphs_golden.png) [embedmd]:# (h1d_example_test.go go /func ExampleH1D_withYErrBarsAndData/ /\n}/) ```go @@ -218,7 +218,7 @@ func ExampleH1D_withYErrBarsAndData() { ### 1D histogram with y-error bars and error bands -![hist-yerrs-band-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/h1d_yerrs_band_golden.png) +![hist-yerrs-band-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/h1d_yerrs_band_golden.png) [embedmd]:# (h1d_example_test.go go /func ExampleH1D_withYErrBars_withBand/ /\n}/) ```go @@ -281,7 +281,7 @@ func ExampleH1D_withYErrBars_withBand() { ### Tiles of 1D histograms -![tiled-plot](https://github.com/go-hep/hep/raw/main/hplot/testdata/tiled_plot_histogram_golden.png) +![tiled-plot](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/tiled_plot_histogram_golden.png) [embedmd]:# (tiledplot_example_test.go go /func ExampleTiledPlot/ /\n}/) ```go @@ -327,7 +327,7 @@ func ExampleTiledPlot() { } ``` -![tiled-plot-aligned](https://github.com/go-hep/hep/raw/main/hplot/testdata/tiled_plot_aligned_histogram_golden.png) +![tiled-plot-aligned](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/tiled_plot_aligned_histogram_golden.png) [embedmd]:# (tiledplot_example_test.go go /func ExampleTiledPlot_align/ /\n}/) ```go @@ -380,13 +380,13 @@ func ExampleTiledPlot_align() { ### Subplots -![sub-plot](https://github.com/go-hep/hep/raw/main/hplot/testdata/sub_plot_golden.png) +![sub-plot](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/sub_plot_golden.png) https://godoc.org/go-hep.org/x/hep/hplot#example-package--Subplot ### Ratio-plots -![ratio-plot](https://github.com/go-hep/hep/raw/main/hplot/testdata/diff_plot_golden.png) +![ratio-plot](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/diff_plot_golden.png) [embedmd]:# (ratioplot_example_test.go go /func ExampleRatioPlot/ /\n}/) ```go @@ -459,7 +459,7 @@ func ExampleRatioPlot() { ### LaTeX-plots -[latex-plot (PDF)](https://github.com/go-hep/hep/raw/main/hplot/testdata/latex_plot_golden.pdf) +[latex-plot (PDF)](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/latex_plot_golden.pdf) https://godoc.org/go-hep.org/x/hep/hplot#example-package--Latexplot @@ -502,7 +502,7 @@ func ExampleH2D() { } } ``` -![h2d-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/h2d_plot_golden.png) +![h2d-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/h2d_plot_golden.png) ### Scatter2D @@ -548,11 +548,11 @@ func ExampleS2D() { } } ``` -![s2d-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/s2d_golden.png) -![s2d-errbars-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/s2d_errbars_golden.png) -![s2d-band-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/s2d_band_golden.png) -![s2d-steps-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/s2d_steps_golden.png) -![s2d-steps-band-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/s2d_steps_band_golden.png) +![s2d-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/s2d_golden.png) +![s2d-errbars-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/s2d_errbars_golden.png) +![s2d-band-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/s2d_band_golden.png) +![s2d-steps-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/s2d_steps_golden.png) +![s2d-steps-band-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/s2d_steps_band_golden.png) ### Vertical lines @@ -583,7 +583,7 @@ func ExampleVLine() { } } ``` -![vline-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/vline_golden.png) +![vline-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/vline_golden.png) ### Horizontal lines @@ -614,7 +614,7 @@ func ExampleHLine() { } } ``` -![hline-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/hline_golden.png) +![hline-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/hline_golden.png) ### Band between lines @@ -688,13 +688,13 @@ func ExampleBand() { } } ``` -![band-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/band_golden.png) +![band-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/band_golden.png) ### Plot with borders One can specify extra-space between the image borders (the physical file canvas) and the actual plot data. -![plot-border-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/h1d_borders_golden.png) +![plot-border-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/h1d_borders_golden.png) [embedmd]:# (h1d_example_test.go go /func ExampleH1D_withPlotBorders/ /\n}/) ```go @@ -763,7 +763,7 @@ func ExampleH1D_withPlotBorders() { ### Stack of 1D histograms -![hstack-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/hstack_golden.png) +![hstack-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/hstack_golden.png) [embedmd]:# (hstack_example_test.go go /func ExampleHStack/ /\n}/) ```go @@ -850,7 +850,7 @@ func ExampleHStack() { ### Stack of 1D histograms with a band -![hstack-band-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/hstack_band_golden.png) +![hstack-band-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/hstack_band_golden.png) [embedmd]:# (hstack_example_test.go go /func ExampleHStack_withBand/ /\n}/) ```go @@ -977,7 +977,7 @@ func ExampleHStack_withBand() { ### Stack of 1D histograms with a band, with a log-y scale -![hstack-logy-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/hstack_logy_golden.png) +![hstack-logy-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/hstack_logy_golden.png) [embedmd]:# (hstack_example_test.go go /func ExampleHStack_withLogY/ /\n}/) ```go @@ -1113,7 +1113,7 @@ func ExampleHStack_withLogY() { ## Labels -![label-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/label_plot_golden.png) +![label-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/label_plot_golden.png) [embedmd]:# (label_example_test.go go /func ExampleLabel/ /\n}/) ```go @@ -1181,7 +1181,7 @@ func ExampleLabel() { ## Time series -![timeseries-example](https://github.com/go-hep/hep/raw/main/hplot/testdata/timeseries_monthly_golden.png) +![timeseries-example](https://codeberg.org/go-hep/hep/raw/branch/main/hplot/testdata/timeseries_monthly_golden.png) [embedmd]:# (ticks_example_test.go go /func ExampleTicks_monthly/ /\n}/) ```go diff --git a/lcio/README.md b/lcio/README.md index c2c095ce2..7adf2696d 100644 --- a/lcio/README.md +++ b/lcio/README.md @@ -158,7 +158,7 @@ lcio-ex-read-event: read 50 events from file "./DST01-06_ppr004_bbcsdu.slcio" $> open out.png ``` -![hist-example](https://github.com/go-hep/hep/raw/main/lcio/example/lcio-ex-read-event/out.png) +![hist-example](https://codeberg.org/go-hep/hep/raw/branch/main/lcio/example/lcio-ex-read-event/out.png) [embedmd]:# (example/lcio-ex-read-event/main.go go /func main/ /\n}/) ```go