Plotting with 1D histograms fail
All plots with 1D histograms do not work right now. Traceback:
File "/home/davidlp/git/bdaq53/bdaq53/analysis/plotting.py", line 539, in _plot_1d_hist
ax = plt.subplot2grid((10, 1), (0, 1), rowspan=19, fig=fig)
File "/home/davidlp/miniconda2/lib/python2.7/site-packages/matplotlib/pyplot.py", line 1251, in subplot2grid
colspan=colspan)
File "/home/davidlp/miniconda2/lib/python2.7/site-packages/matplotlib/gridspec.py", line 63, in new_subplotspec
subplotspec = self[loc1:loc1+rowspan, loc2:loc2+colspan]
File "/home/davidlp/miniconda2/lib/python2.7/site-packages/matplotlib/gridspec.py", line 161, in __getitem__
[_normalize(k1, nrows), _normalize(k2, ncols)], (nrows, ncols))
File "/home/davidlp/miniconda2/lib/python2.7/site-packages/matplotlib/gridspec.py", line 153, in _normalize
raise IndexError("invalid index")
IndexError: invalid index
Plotting should be part of the analysis unittests to be able to spot plotting related regressions.