c1b6a1c39fdd4661930280c6098de55359c5a078,examples/animation/animation_demo.py,,,#,16

Before Change


        z = z + 2
        p.set_data(z)

    print("step", i)
    plt.pause(0.5)

After Change


import matplotlib.pyplot as plt
import numpy as np

np.random.seed(19680801)
data = np.random.random((50, 50, 50))

fig, ax = plt.subplots()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 11

Non-data size: 3

Instances


Project Name: matplotlib/matplotlib
Commit Name: c1b6a1c39fdd4661930280c6098de55359c5a078
Time: 2017-11-24
Author: anntzer.lee@gmail.com
File Name: examples/animation/animation_demo.py
Class Name:
Method Name:


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 1cf07001d24fcaad35a9f16d30cdd12627f3256a
Time: 2018-06-26
Author: boris.ilpossente@hotmail.it
File Name: tests/policy/test_gaussian_policy.py
Class Name:
Method Name: test_multivariate_state_log_std_gaussian


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 1cf07001d24fcaad35a9f16d30cdd12627f3256a
Time: 2018-06-26
Author: boris.ilpossente@hotmail.it
File Name: tests/distributions/test_gaussian_distribution.py
Class Name:
Method Name: test_gaussian


Project Name: AllenCellModeling/pytorch_fnet
Commit Name: 38fe09bda645027730739b76e36f35c0abb05d78
Time: 2017-06-21
Author: chek.o@outlook.com
File Name: gen_util.py
Class Name:
Method Name: train_eval


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 1cf07001d24fcaad35a9f16d30cdd12627f3256a
Time: 2018-06-26
Author: boris.ilpossente@hotmail.it
File Name: tests/policy/test_gaussian_policy.py
Class Name:
Method Name: test_multivariate_diagonal_gaussian


Project Name: keras-team/keras
Commit Name: 21f0bfa239c2250f3459aa3fc011cc3f4c814e03
Time: 2015-08-24
Author: francois.chollet@gmail.com
File Name: tests/auto/test_loss_masking.py
Class Name:
Method Name:


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 1cf07001d24fcaad35a9f16d30cdd12627f3256a
Time: 2018-06-26
Author: boris.ilpossente@hotmail.it
File Name: tests/distributions/test_gaussian_distribution.py
Class Name:
Method Name: test_diagonal_gaussian


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 1cf07001d24fcaad35a9f16d30cdd12627f3256a
Time: 2018-06-26
Author: boris.ilpossente@hotmail.it
File Name: tests/policy/test_gaussian_policy.py
Class Name:
Method Name: test_univariate_gaussian


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 1cf07001d24fcaad35a9f16d30cdd12627f3256a
Time: 2018-06-26
Author: boris.ilpossente@hotmail.it
File Name: tests/policy/test_gaussian_policy.py
Class Name:
Method Name: test_multivariate_gaussian


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 1cf07001d24fcaad35a9f16d30cdd12627f3256a
Time: 2018-06-26
Author: boris.ilpossente@hotmail.it
File Name: tests/distributions/test_gaussian_distribution.py
Class Name:
Method Name: test_cholesky_gaussian


Project Name: AIRLab-POLIMI/mushroom
Commit Name: 1cf07001d24fcaad35a9f16d30cdd12627f3256a
Time: 2018-06-26
Author: boris.ilpossente@hotmail.it
File Name: tests/policy/test_gaussian_policy.py
Class Name:
Method Name: test_multivariate_state_std_gaussian