Open Kayv-cmb opened 1 year ago
I think the problem here is that the summary widget is a multi panel (aka multi axes) stuff. They are all 2d except the probe map you want 3d I am not sure that matplotlib allow this in the same figure. Maybe yes.
Thanks for the answer, I am not sure how you're summary widget work, but I am pretty sure you can have both 3D and 2D on the same subplot with matplotlib with something like that as an example.
size = 64
fig = plt.figure(2, (10,4))
ax = fig.add_subplot(121, projection='3d')
plt.scatter(X[:,0], X[:,1], zs=X[:,2], s=size, c='r')
plt.title('Original Points')
ax = fig.add_subplot(122)
plt.scatter(X_transform[:,0], X_transform[:,1], s=size, c='r')
plt.title('Embedding in 2D')
fig.subplots_adjust(wspace=.4, hspace=0.5)
plt.show()
Hi,
I have a small issue using the plotting function of spikeinterface when I use my probe that got 3 dim.
I assumed not all plotting function would work with a 3 dim probe especially those that require the channel position, but since there seems to be a check of probe.ndim, it should work? Anyway is there a way to fix this error ? Thank you for your help in advance!!!