scatter 4dI want to plot a three dimensional function using colors as representation of the 4th dimension (i.e. the function value). Since I want a scatterplot I use go.Scatter3d (…) instead ofYou can use the scatter function from mpl_toolkits.mplot3d to create a 3D scatter plot and then set the color of the points using the c argument and a color map. You can also