Convert Matplotlib Plot Dataframe Matplotlib Legend