82295b983ec624caac9a0310b0031accd9758c0e,pandastable/plotting.py,PlotViewer,_doplot,#PlotViewer#Any#Any#Any#Any#Any#Any#Any#,321
Before Change
y = cols[1]
axs = data.plot(x,y,ax=ax,kind="hexbin",gridsize=20,**kwargs)
elif kind == "contour":
x = data.values[:,0]
y = data.values[:,1]
z = data.values[:,2]
xi = np.linspace(x.min(), x.max())
yi = np.linspace(y.min(), y.max())
zi = griddata(x, y, z, xi, yi, interp="linear")
cs = ax.contour(xi,yi,zi,15,linewidths=0.5,colors="k")
cs = ax.contourf(xi,yi,zi,15,cmap=cmap)
self.fig.colorbar(cs,ax=ax)
axs = ax
After Change
axs = ax
elif kind == "imshow":
xi,yi,zi = self.contourData(data)
im = ax.imshow(zi, interpolation="nearest",
cmap=cmap, alpha=kwargs["alpha"])
self.fig.colorbar(im,ax=ax)
axs = ax
elif kind == "pie":
if kwargs["legend"] == True:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: dmnfarrell/pandastable
Commit Name: 82295b983ec624caac9a0310b0031accd9758c0e
Time: 2016-01-07
Author: farrell.damien@gmail.com
File Name: pandastable/plotting.py
Class Name: PlotViewer
Method Name: _doplot
Project Name: nilearn/nilearn
Commit Name: 7b0c84ac43d81f2c0d980645e693df8452ce1cb5
Time: 2012-06-22
Author: alexandre.abraham@cea.fr
File Name: nyu_rest_decomposition.py
Class Name:
Method Name:
Project Name: BindsNET/bindsnet
Commit Name: 4c9bebf450569d0a1da22a0560343c45f7196fa3
Time: 2018-05-01
Author: djsaunde@umass.edu
File Name: examples/space_invaders.py
Class Name:
Method Name: