gradient lines in matplotlib