This post shows how to make a 3D stem plot using mplot3D through Python.

3D stem plot with Python
glowingpython.blogspot.com