I want to draw a line on x=c #constant .
x=c #constant
It should be pretty simple, but how can I do this?
You can use matplotlib.pyplot.axvline() .
matplotlib.pyplot.axvline()
import matplotlib.pyplot as plt plt.figure() plt.axvline(x=0.2) plt.axvline(x=0.5) plt.show()