diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-18 15:43:58 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-18 15:43:58 +0800 |
commit | 382cc5da796b6402275214adbed2f9c3183023fb (patch) | |
tree | 7a214f1bd74ea21a692611815dc879700bbba029 /fg21sim/utils/draw.py | |
parent | e861fb4c9e2560da8199293477e957b0cbf63074 (diff) | |
download | fg21sim-382cc5da796b6402275214adbed2f9c3183023fb.tar.bz2 |
utils/draw.py: Remove the "Modified BSD" license; Update credit
Diffstat (limited to 'fg21sim/utils/draw.py')
-rw-r--r-- | fg21sim/utils/draw.py | 44 |
1 files changed, 4 insertions, 40 deletions
diff --git a/fg21sim/utils/draw.py b/fg21sim/utils/draw.py index 3213fa8..20e7042 100644 --- a/fg21sim/utils/draw.py +++ b/fg21sim/utils/draw.py @@ -1,53 +1,17 @@ # Copyright (c) 2016 Weitian LI <liweitianux@live.com> # MIT license -# -############################################################################## -# Copyright (C) 2011, the scikit-image team -# All rights reserved. - -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: - -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# 3. Neither the name of skimage nor the names of its contributors may be -# used to endorse or promote products derived from this software without -# specific prior written permission. - -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR -# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -# DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, -# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) -# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, -# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING -# IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -# POSSIBILITY OF SUCH DAMAGE. """ Generic drawers (a.k.a. painters) that draw some commonly used shapes. -DISCLAIMER ----------- -The following functions are taken from project [scikit-image]_, which are -licensed under the *Modified BSD* license: - -- ``_ellipse_in_shape()`` -- ``ellipse()`` -- ``circle()`` - - Credits ------- +The ``_ellipse_in_shape`` and ``ellipse()`` functions are originally taken +from project [scikit-image]_, which are licensed under the *Modified BSD* +license. + .. [scikit-image] skimage.draw.draw http://scikit-image.org/docs/dev/api/skimage.draw.html https://github.com/scikit-image/scikit-image/blob/master/skimage/draw/draw.py |