I have the axes on my 3d graph labeled, but there is still this generic 2d frame around my 3d projection that I cant get rid of.
How do I remove the x and y [0, 1] axes around the outside of my 3d graph?
fig = plt.figure() ax = fig.add_subplot(1, 1, 1, axisbg="None") ax = fig.gca(projection='3d') ax.scatter(X[:, 1], X[:, 0], X[:, 2], c=labels, alpha=0.4) ax.set_xlabel('Pressure Integral', fontsize=12, color='blue', rotation=150) ax.set_ylabel('Total Gallons', fontsize=12, color='blue') ax.set_zlabel('Duration (seconds)', fontsize=12, color='blue', rotation=60) ax.yaxis._axinfo['label']['space_factor'] = 3.0 