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())
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: 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: 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
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