hist icon indicating copy to clipboard operation
hist copied to clipboard

Histogramming for analysis powered by boost-histogram

Results 91 hist issues
Sort by recently updated
recently updated
newest added

**Describe the problem, if any, that your feature request is related to** In the bottom panel of ratio plots, black dots are always drawn, leaving no flexibility for user choices,...

enhancement

In: ```python import matplotlib.pyplot as plt import numpy from hist import Hist #------------------------------------------------------ def get_hist(): h = ( Hist.new .Reg(10, -2 ,2, name='x', label='x-axis') .Int64() ) data=numpy.random.normal(size=10000) h.fill(data) return h...

enhancement

**Describe the bug** Adding two hists of different storage types just results in having an empty hist without raising an error: **Steps to reproduce** ``` import numpy as np from...

I think graphviz will be a problem.

### Code cell contents ```python import piplite await piplite.install("mplhep") await piplite.install("hist") ``` ```python from hist import Hist ``` ```python h = Hist.new.Reg(10, -5, 5).Double() ``` ```python h ``` ![image](https://github.com/scikit-hep/hist/assets/1852447/0c50dc5c-48f5-405b-a16f-41d9ec272c6e) _(good)_...

```python >>> hist.Hist.new.StrCat(["all", "pass", "fail"], name="isEM").Log(1000, 0.0, 2000.0, name="pt", label="$pt_{\gamma}$ [GeV]").Int64() Traceback (most recent call last): File "", line 1, in File "/Users/kratsg/radiativeDecays/venv/lib/python3.11/site-packages/hist/quick_construct.py", line 113, in Log axis.Regular( File "/Users/kratsg/radiativeDecays/venv/lib/python3.11/site-packages/hist/axis/__init__.py",...

updates: - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.6.3 → v0.6.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.6.3...v0.6.9)

```python import numpy as np import hist hist1 = hist.Hist.new.Reg(50, 0, math.pi).Double() hist1.fill(np.random.uniform(0, math.pi,200)) hist1.plot() ``` gives with (poisson) errorbars ![2024-09-22_10-01-08_write](https://github.com/user-attachments/assets/b6eaef00-eafd-47e0-82a5-847a8e1c63b8) while ```python import numpy as np import hist hist1...

documentation

**Describe the bug** `hist.dask.Hist` generates an unpickleable object if computed with no `fill` call **Steps to reproduce** ```python import pickle import dask import dask_awkward import hist.dask import numpy import awkward...

**Describe the bug** Passing a `bh.Histogram` object into `hist.Hist` with the `name` keyword argument does not work for `name`. **Steps to reproduce** ```py In [1]: import hist; import boost_histogram as...