I have a Pandas DataFrame where I have plot a Seaborn Bar Plot, as shown (edit: image not appearing).
I wish to annotate on each bar, the date_install value. I have searched high and low, and can only see references to annotating the bars with the y value of the bar itself.
The price is plotted on the y-axis, with the part_no plotted on the x-axis.
Is this possible within Seaborn?
Thanks
import pandas as pd
import seaborn as sns
data1 = {
'date_install': ['2020-02-02','2020-04-03', '2019-03-02'],
'part_no':['D235','S222','S211'],
'price': ['1500', '2000', '1600']
}
df = pd.DataFrame(data1)
sns.barplot(x=df.part_no, y=df.price)

