Skip to content
Snippets Groups Projects
Select Git revision
  • debian/0.17.0-4
  • master default protected
  • 0.19.X
  • discrete
  • 0.18.X
  • ignore_lambda_to_diff_errors
  • 0.17.X
  • authors-update
  • 0.16.X
  • 0.15.X
  • 0.14.X
  • debian
  • 0.13.X
  • 0.12.X
  • 0.11.X
  • 0.10.X
  • 0.9.X
  • 0.6.X
  • 0.7.X
  • 0.8.X
  • 0.19.1
  • 0.19.0
  • 0.19b2
  • 0.19b1
  • 0.19-branching
  • 0.18.2
  • 0.18.1
  • 0.18
  • 0.18rc2
  • 0.18rc1
  • 0.18rc
  • 0.17.1-1
  • 0.17.1
  • debian/0.17.0-3
  • debian/0.17.0-1
  • 0.17
  • debian/0.17.0_b1+git14-g4e6829c-1
  • debian/0.17.0_b1-1
  • 0.17b1
39 results

bench_sample_without_replacement.py

Blame
    • Ken Geis's avatar
      ca2142eb
      ENH lots of benchmarks fixes · ca2142eb
      Ken Geis authored
      * add a title to all benchmark figures/windows
      * "bench" is non-standard slang for benchmarking
      * remove calls to pyplot.clf because the previous call
        to pyplot.figure sets the current figure
      * standardize on "Time (s)" as time axis label
      * move some benchmark plot legends to the upper left corner of the plot:
        most benchmarks expand from (0,0) up and to the right
      * simplified plot titles and moved constant info from legend into title
      * fixed typos
      * made some labels more viewer-friendly
      
      Fixes #2023.
      ca2142eb
      History
      ENH lots of benchmarks fixes
      Ken Geis authored
      * add a title to all benchmark figures/windows
      * "bench" is non-standard slang for benchmarking
      * remove calls to pyplot.clf because the previous call
        to pyplot.figure sets the current figure
      * standardize on "Time (s)" as time axis label
      * move some benchmark plot legends to the upper left corner of the plot:
        most benchmarks expand from (0,0) up and to the right
      * simplified plot titles and moved constant info from legend into title
      * fixed typos
      * made some labels more viewer-friendly
      
      Fixes #2023.
    setup.py 528 B
    import numpy
    from numpy.distutils.misc_util import Configuration
    
    
    def configuration(parent_package="", top_path=None):
        config = Configuration("tree", parent_package, top_path)
        config.add_extension("_tree",
                             sources=["_tree.c"],
                             include_dirs=[numpy.get_include()],
                             libraries=['m'])
    
        config.add_subpackage("tests")
    
        return config
    
    if __name__ == "__main__":
        from numpy.distutils.core import setup
        setup(**configuration().todict())