Assume you have drawn a 3D figure in Python.
import matplotlib.pyplot as plt
fig = plt.figure()
ax = plt.axes(projection="3d")
ax.plot3D([0, 0, 0, 0], [0, 1, 1, 0], [0, 0, 1, 0])
plt.show()
You can rotate the picture with the mouse into a position you like.
How can one now obtain a 2D plot that contains a projected version of the 3D object?
In this case, that would be a triangle defined by three (x, y) points. After removing the axes and grid in both the 3D and 2D plot, one would see two figures that are exactly the same (triangle).
I think it is possible to manually calculate the 2D projection, but I wondered if there exists a built-in function that does it for you.