def test_plot_sf_xlog(): # first fig, ax1 = pyplot.subplots() loc_dist = dist.lognormal(μ=1.25, σ=0.75) ax1 = activity.plot(loc_dist, ax=ax1, xscale='log', which='sf') ax1.legend() return fig
def test_plot_bad_attribute(): with pytest.raises(AttributeError): loc_dist = dist.lognormal(μ=1.25, σ=0.75) activity.plot(loc_dist, xscale='log', which='JUNK')
def test_plot_pdf_xlog(): # first fig, ax1 = pyplot.subplots() loc_dist = dist.lognormal(μ=1.25, σ=0.75) ax1 = activity.plot(loc_dist, ax=ax1, xscale='log') return fig