I can build a data frame (2 "Y") and add vertical lines (2) to the graph, and I can specify the text of the conditional legend for the values of Y or vertical lines, but not simultaneously in both cases.
import pandas as pd
import matplotlib.pyplot as plt
d = {'x' : [1., 2., 3., 4.], 'y1' : [8., 6., 4., 2.], 'y2' : [-4., 13., 2.2, -1.1]}
df = pd.DataFrame(d)
ax = df.plot(x='x', y=['y1'], linestyle='-', color='b')
df.plot(x='x', y=['y2'], linestyle='--', color='y', ax=ax)
ax.legend(labels=['y1custom', 'y2custom'])
plt.axvline(x=1.5, color='r', linestyle='--', label='vline1.5custom')
plt.axvline(x=3.5, color='k', linestyle='--', label='vline3.5custom')
plt.legend()
plt.show()
The key line in the code is "plt.legend ()". With it, in the code, I get this (the conditional inscription has dataframe column labels "y1" and "y2" instead of my desired custom labels):

With the "plt.legend ()" deleted, I get this (the legend has my own shortcuts only for dataframe values, the legend for vertical lines doesn't even appear!):

How can I get the best of both worlds, in particular the following (in any order) for my legend ?:
y1custom
y2custom
vline1.5custom
vline3.5custom
, dataframe, ... ! .