Special cases

Geant4 analysis tools output


In [1]:
from physt.compat.geant4 import load_csv

In [2]:
%matplotlib inline

In [3]:
h = load_csv("../tests/data/geant-h1.csv")
h


Out[3]:
Histogram1D(bins=(100,), total=10000.0, dtype=<class 'numpy.int64'>)

In [4]:
h.plot("line", stats_box=True);



In [5]:
h2 = load_csv("../tests/data/geant-h2.csv")
h


Out[5]:
Histogram1D(bins=(100,), total=10000.0, dtype=<class 'numpy.int64'>)

In [6]:
h2.plot(show_zero=False)


Out[6]:
<matplotlib.axes._subplots.AxesSubplot at 0x7f512690ccc0>