Plot x-y data if x entry meets condition python,plt.show()