`using FHist, Statistics, Plots`

## Hist1D

Let's generate three dummy histograms sampled from three different distributions:

unit Gaussian with 1000 points

unit Gaussian with 10000 points

unit Gaussians with 1000 points and a mean of 0.5

```
begin
h1 = Hist1D(randn(10^3), -2:0.3:2)
h2 = Hist1D(randn(10^4), -2:0.3:2)
h3 = Hist1D(randn(10^3) .+ 0.5, -2:0.3:2)
end
```

- edges: -2.0:0.3:1.9
- bin counts: [5, 12, 29, 50, 51, 88, 109, 139, 104, 108, 99, 74, 46]
- maximum count: 139
- total count: 914

```
begin
Plots.plot(h1; size=(600, 500), legend=:topleft)
Plots.plot!(h3)
end
```

## Hist2D

```
begin
h2d = Hist2D((randn(10000), randn(10000)))
p2d = plot(h2d)
end
```