Adding Color-bar To 3D Scatter Plot Fails On Linux Server While Succeed On Windows
I have the following function: def plotTemperatureGradient(temp_mat, file_name): xs, ys, zs = temp_mat.shape fig = plt.figure() ax = fig.add_subplot(111, projection='3d
Solution 1:
The version where it works is newer than the one where it doesn't. In older versions you need to set the array manually,
mapper.set_array([])
Post a Comment for "Adding Color-bar To 3D Scatter Plot Fails On Linux Server While Succeed On Windows"