dd1c386c8f5c2e223b27f16f67e1c603b83eb449,lib/mpl_toolkits/tests/test_mplot3d.py,,test_surface3d,#,199

Before Change


    X = np.arange(-5, 5, 0.25)
    Y = np.arange(-5, 5, 0.25)
    X, Y = np.meshgrid(X, Y)
    R = np.sqrt(X ** 2 + Y ** 2)
    Z = np.sin(R)
    surf = ax.plot_surface(X, Y, Z, rcount=40, ccount=40, cmap=cm.coolwarm,
                           lw=0, antialiased=False)
    ax.set_zlim(-1.01, 1.01)

After Change


    X = np.arange(-5, 5, 0.25)
    Y = np.arange(-5, 5, 0.25)
    X, Y = np.meshgrid(X, Y)
    R = np.hypot(X, Y)
    Z = np.sin(R)
    surf = ax.plot_surface(X, Y, Z, rcount=40, ccount=40, cmap=cm.coolwarm,
                           lw=0, antialiased=False)
    ax.set_zlim(-1.01, 1.01)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 5

Instances


Project Name: matplotlib/matplotlib
Commit Name: dd1c386c8f5c2e223b27f16f67e1c603b83eb449
Time: 2018-10-06
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/tests/test_mplot3d.py
Class Name:
Method Name: test_surface3d


Project Name: matplotlib/matplotlib
Commit Name: dd1c386c8f5c2e223b27f16f67e1c603b83eb449
Time: 2018-10-06
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/tests/test_triangulation.py
Class Name:
Method Name: test_tri_smooth_gradient


Project Name: matplotlib/matplotlib
Commit Name: df4e62300edda78b05782aee6eb036f3d7f32457
Time: 2017-12-01
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/contour.py
Class Name: ContourLabeler
Method Name: locate_label


Project Name: matplotlib/matplotlib
Commit Name: dd1c386c8f5c2e223b27f16f67e1c603b83eb449
Time: 2018-10-06
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/tests/test_contour.py
Class Name:
Method Name: test_circular_contour_warning


Project Name: matplotlib/matplotlib
Commit Name: dd1c386c8f5c2e223b27f16f67e1c603b83eb449
Time: 2018-10-06
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/mplot3d/proj3d.py
Class Name:
Method Name: line2d_dist


Project Name: matplotlib/matplotlib
Commit Name: dd1c386c8f5c2e223b27f16f67e1c603b83eb449
Time: 2018-10-06
Author: anntzer.lee@gmail.com
File Name: lib/matplotlib/tests/test_axes.py
Class Name:
Method Name: test_pcolorargs


Project Name: matplotlib/matplotlib
Commit Name: dd1c386c8f5c2e223b27f16f67e1c603b83eb449
Time: 2018-10-06
Author: anntzer.lee@gmail.com
File Name: lib/mpl_toolkits/tests/test_mplot3d.py
Class Name:
Method Name: test_mixedsubplots