E. Tufte slope graph implementation in Python