1a135ca9f7d98f63a3183895f27021308da4d9be,grid_parameters.py,,,#,3

Before Change


cgs = np.array(cgs,dtype=np.float64).reshape(resolution,resolution)

pb.contourf(xx,yy,lls,np.linspace(-500,560,100),linewidths=2,cmap=pb.cm.jet)
pb.colorbar()
pb.scatter(xx.flatten(),yy.flatten(),10,cgs.flatten(),linewidth=0,cmap=pb.cm.gray)
pb.figure()
//pb.imshow(lls,origin="upper",cmap=pb.cm.jet,extent=[xx[0,0],xx[-1,0],yy[0].min(),yy[0].max()],vmin=-500)
pb.scatter(xx.flatten(),yy.flatten(),10,lls.flatten(),linewidth=0,cmap=pb.cm.jet)

After Change


lls = np.array(lls).reshape(resolution,resolution)
cgs = np.array(zip(*cgs),dtype=np.float64).reshape(-1,resolution,resolution)

for cg in cgs:
    pb.figure()
    pb.contourf(xx,yy,lls,cmap=pb.cm.jet)
    pb.scatter(xx.flatten(),yy.flatten(),12,cg.flatten(),cmap=pb.cm.gray)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: SheffieldML/GPy
Commit Name: 1a135ca9f7d98f63a3183895f27021308da4d9be
Time: 2013-01-11
Author: james.hensman@gmail.com
File Name: grid_parameters.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: d1ae68571b20c86eda94f74dc035b5c22cc8e5bd
Time: 2018-09-02
Author: 2836374+timhoffm@users.noreply.github.com
File Name: examples/axes_grid1/demo_axes_grid.py
Class Name:
Method Name: demo_grid_with_each_cbar_labelled


Project Name: ScottfreeLLC/AlphaPy
Commit Name: 7a7d0e7b35cbee6b3409ac30ff4bf4edfe525af2
Time: 2019-11-17
Author: Mark.R.Conway@gmail.com
File Name: alphapy/plots.py
Class Name:
Method Name: plot_confusion_matrix