import numpy as np
from valjean.javert.templates import (PlotTemplate, CurveElements,
                                      SubPlotElements)
bins = (np.array(np.arange(10)),)
lcurves = []
for icurve in range(20):
    lcurves.append(CurveElements(values=bins[0]*0.5*(icurve+1),
                                 bins=bins, legend=str(icurve+1),
                                 index=icurve))
sbpe = SubPlotElements(curves=lcurves, axnames=['the x-axis', ''])
pltit = PlotTemplate(subplots=[sbpe])
from valjean.javert.mpl import MplPlot, MplStyle
mplplt = MplPlot(pltit, style=MplStyle(style='Solarize_Light2'))
fig, _ = mplplt.draw()
