[Numpy-svn] [numpy/numpy] ccbf5c: MAINT: Use linspace instead of arange in some exam...

GitHub noreply@github....
Mon Sep 17 11:07:14 CDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: ccbf5cf2fc35ec0a3e2c184fb846bb808aee3610
      https://github.com/numpy/numpy/commit/ccbf5cf2fc35ec0a3e2c184fb846bb808aee3610
  Author: endolith <endolith@gmail.com>
  Date:   2012-09-17 (Mon, 17 Sep 2012)

  Changed paths:
    M numpy/lib/function_base.py

  Log Message:
  -----------
  MAINT: Use linspace instead of arange in some examples.

The original code used arange with offsets and scaling to generate
sample points. Using linspace simplifies the code and clarifies
the intent.





More information about the Numpy-svn mailing list