Here are robotics example codes using Python.
These examples are from Craig's Robotics.
Reference : Pinkwink's drawRobotics https://github.com/PinkWink/drawRobotics.git
I edited some codes because of the difference of Python version and visualization logic.
Especially, Pinkwink's "Arrow3D.py" module didn't work. So I replaced it with the code below. matplotlib/matplotlib#21688