I am using MPL toolkit to plot a 3d projection in python3 environment. I am able to visualize a nice interactive 3D scatter plot with this code
from mpl_toolkits.mplot3d import Axes3D
fig = plt.figure(figsize=(15, 12))
ax = fig.add_subplot(111, projection='3d')
ax.scatter(dimension1, dimension2, dimension3, c='r', marker='o')
plt.show()
Whenever I want to visualize my data, I need to run above script. I am wondering is there any way I can save this interactive 3d plot for sharing it with others or a quick review?
I found similar questions and most of the answer suggests to use pickle
, but again I need to open the pickle file using a python script! But I am looking for something which can be useful to save 3D plot as an interactive image.