Answers for "how to make a verticle line as a certain x tick in matplotlib"

3

vertical line in matplotlib

xposition = [0.3, 0.4, 0.45]
for xc in xposition:
    plt.axvline(x=xc, color='k', linestyle='--')
Posted by: Guest on May-20-2020

Code answers related to "how to make a verticle line as a certain x tick in matplotlib"

Python Answers by Framework

Browse Popular Code Answers by Language