754cfba75452535c201f9ac13aed091e6932cd84,examples/frontpage/3D.py,,,#,16
Before Change
import matplotlib.pyplot as plt
import numpy as np
filename = cbook.get_sample_data("jacksboro_fault_dem.npz", asfileobj=False)
with np.load(filename) as dem:
z = dem["elevation"]
nrows, ncols = z.shape
x = np.linspace(dem["xmin"], dem["xmax"], ncols)
y = np.linspace(dem["ymin"], dem["ymax"], nrows)
x, y = np.meshgrid(x, y)
region = np.s_[5:50, 5:50]
x, y, z = x[region], y[region], z[region]
fig, ax = plt.subplots(subplot_kw=dict(projection="3d"))
After Change
import matplotlib.pyplot as plt
import numpy as np
with cbook.get_sample_data("jacksboro_fault_dem. npz") as file, \
np .load(file) as dem:
z = dem["elevation"]
nrows, ncols = z.shape
x = np.linspace(dem["xmin"], dem["xmax"], ncols)
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 6
Instances Project Name: matplotlib/matplotlib
Commit Name: 754cfba75452535c201f9ac13aed091e6932cd84
Time: 2019-03-07
Author: anntzer.lee@gmail.com
File Name: examples/frontpage/3D.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 655b588bd9dff86993b4f5a24c44c81f2465b022
Time: 2019-03-08
Author: jklymak@gmail.com
File Name: examples/frontpage/3D.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 655b588bd9dff86993b4f5a24c44c81f2465b022
Time: 2019-03-08
Author: jklymak@gmail.com
File Name: examples/images_contours_and_fields/shading_example.py
Class Name:
Method Name: main
Project Name: matplotlib/matplotlib
Commit Name: 655b588bd9dff86993b4f5a24c44c81f2465b022
Time: 2019-03-08
Author: jklymak@gmail.com
File Name: examples/mplot3d/custom_shaded_3d_surface.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 754cfba75452535c201f9ac13aed091e6932cd84
Time: 2019-03-07
Author: anntzer.lee@gmail.com
File Name: examples/images_contours_and_fields/shading_example.py
Class Name:
Method Name: main
Project Name: matplotlib/matplotlib
Commit Name: 754cfba75452535c201f9ac13aed091e6932cd84
Time: 2019-03-07
Author: anntzer.lee@gmail.com
File Name: examples/mplot3d/custom_shaded_3d_surface.py
Class Name:
Method Name: