Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/t/h/ThinkComplexity-HEAD/code/cdf_example.py   ThinkComplexity(Download)
    print value
 
    xs, ps = cdf.Render()
    for x, p in zip(xs, ps):
        print x, p

src/t/h/thinkstats-HEAD/thinkstats_resources/brfss_figs.py   thinkstats(Download)
        pyplot.plot(xs, ps, label='model', linewidth=4, color='0.7')
 
        xs, ps = cdf.Render()
        pyplot.plot(xs, ps, label='data', linewidth=2, color='blue')
 

src/t/h/thinkstats-HEAD/thinkstats_resources/Cdf_test.py   thinkstats(Download)
    def testRender(self):
        t = [2, 1, 3, 2, 5]
        cdf = Cdf.MakeCdfFromList(t, 'bob')
 
        vs, ps = cdf.Render()