Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from itertools import combinations
- styles = map(lambda x: x+'-', list('.^o<>1234sp*hH+xDd|_'))
- for num, line_style in enumerate(styles, 1):
- plt.plot(range(10), [num]*10, line_style, label=line_style)
- plt.legend(loc='upper left', bbox_to_anchor=(1, 1))
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement