82295b983ec624caac9a0310b0031accd9758c0e,pandastable/plotting.py,PlotViewer,_doplot,#PlotViewer#Any#Any#Any#Any#Any#Any#Any#,321
Before Change
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")
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:
lbls=None
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
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: 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: 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