TypeError: plot() missing 1 required positional argument: 'ys'
for
Figure setup.
fig = plt.figure(figsize = (15,16), tight_layout = True)
gs = GridSpec(2, 2)
ax = fig.add_subplot(gs[1,0], projection='3d')
ax.set_xlim3d(-scale3D,scale3D); ax.set_ylim3d(-scale3D,scale3D); ax.grid(b=None)
n = 300
Figure setup.
Scatter and contour plot.
ax.scatter(currData[:n][:,0],currData[:n][:,1],np.zeros(n), alpha = .5, s = 1)
sns.kdeplot(currData[:,0], currData[:,1],n_levels=15, cmap="viridis", bw = 1)
ax.scatter(np.mean(currData[:,0]), np.mean(currData[:,1]), marker = "x", c = "r") # Mean.
Scatter and contour plot.