from preliz import Exponential, style
style.use('preliz-doc')
for lam in [0.5,  2.]:
    Exponential(lam).plot_pdf(support=(0,5))