Closed
Description
The "markertri_up marker" and "markertri_up marker" randers to each other.
#!/usr/bin/python
import matplotlib.pyplot as plt
def x_line_style():
styles = { '-1' :'markertri_down marker' , \
'-2' :'markertri_up marker' , \
'-3' :'markertri_left marker' , \
'-4' :'markertri_right marker' }
fig1, ax1 = plt.subplots(1, 1, figsize=(5,5))
i = 1
ax1.set_xlim(0, 10)
ax1.set_ylim(0, 5)
for (x,y) in styles.items():
ax1.plot(range(0,10), [i for j in range(0,10)], (x), label=y, color='r')
i = i + 1
ax1.legend(loc=7)
fig1.savefig('line-style.png', format='png')
plt.close(fig1)
x_line_style()