7c876f0c967dca643dc6f61bf5d147274a150d66,tools/make_examples.py,,,#,47

Before Change


    print(script)
    exec(open(script).read(), namespace)
    plt.close("all")
    del namespace

if use_xvfb:
    display.stop()

// clean up stray images, pickles, npy files, etc
for globber in ("*.nii.gz", "*.dpy", "*.npy", "*.pkl", "*.mat", "*.img",
                "*.hdr"):
    for fname in glob(globber):
        os.unlink(fname)

After Change


    os.mkdir("fig")

use_xvfb = os.environ.get("TEST_WITH_XVFB", False)
use_memprof = os.environ.get("TEST_WITH_MEMPROF", False)

if use_xvfb:
    from xvfbwrapper import Xvfb
    display = Xvfb(width=1920, height=1080)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: nipy/dipy
Commit Name: 7c876f0c967dca643dc6f61bf5d147274a150d66
Time: 2017-10-13
Author: arokem@gmail.com
File Name: tools/make_examples.py
Class Name:
Method Name:


Project Name: sahana/eden
Commit Name: 208e1c78399fd67ae75537489c8206943c523c52
Time: 2018-03-15
Author: dominic@nursix.org
File Name: modules/s3/s3fields.py
Class Name: S3ReusableField
Method Name: __call__


Project Name: okfn-brasil/serenata-de-amor
Commit Name: ed82e27fef3c21f0d86e0e8efdc923f527da37ae
Time: 2017-05-11
Author: cuducos@users.noreply.github.com
File Name: jarbas/core/management/commands/irregularities.py
Class Name: Command
Method Name: serialize


Project Name: pymc-devs/pymc3
Commit Name: 4468f0ffc9a980dfec5c1ae64d8d4cb6f94a0a7c
Time: 2013-08-24
Author: jsalvatier@gmail.com
File Name: pymc/model.py
Class Name:
Method Name: Point