Better traceplot for discrete variables
Better traceplot for discrete variables

This provides better histograms for traceplotting discrete variables. The old
version set the number of bins=sqrt(len(trace)), this meant smaller and smaller
vertical bars for long traces. Now it calculates the number of bins based on
the minimum and maximum value in the trace, centering bars at the integer
values present. This assumes discrete distributions only take on integer
values, though this might not always be true.

JesseLivezey/pymc3,kmather73/pymc3,kyleam/pymc3,kmather73/pymc3,MCGallaspy/pymc3,superbobry/pymc3,superbobry/pymc3,arunlodhi/pymc3,LoLab-VU/pymc,jameshensman/pymc3,evidation-health/pymc3,evidation-health/pymc3,LoLab-VU/pymc,clk8908/pymc3,hothHowler/pymc3,Anjum48/pymc3,CVML/pymc3,clk8908/pymc3,MCGallaspy/pymc3,kyleam/pymc3,MichielCottaar/pymc3,arunlodhi/pymc3,Anjum48/pymc3,CVML/pymc3,dhiapet/PyMC3,MichielCottaar/pymc3,wanderer2/pymc3,jameshensman/pymc3,wanderer2/pymc3,tyarkoni/pymc3,dhiapet/PyMC3,tyarkoni/pymc3,hothHowler/pymc3,JesseLivezey/pymc3