gsp-eeg / PyGSP2

Graph Signal Processing 2 in Python
https://pygsp2.readthedocs.io/en/latest
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Problem with visualization using Graph.plot() #87

Open CarlosSaldiviaH opened 1 week ago

CarlosSaldiviaH commented 1 week ago

When using pygsp2 and plotting in 3D, the axis doesn't autoscale. This problem is not present in pygsp so there must be some problem with the plot method of pygsp2. What we usually use to fix this is normalizing the position matrix, but this might be innecesary if the plot method is fixed. For reference, the same graph using pygsp and pygsp2. image image

CarlosSaldiviaH commented 1 week ago

Also, this warning appears: UserWarning: No data for colormapping provided via 'c'. Parameters 'vmin', 'vmax' will be ignored sc = ax.scatter(*G.coords.T,