This is the code for the following graph
x= np.linspace(0.5, 6, 5)
y= rf[:5]
p_importance =figure()
p_importance.vbar(
x = x,
top = y,
width = 1
)
My list is saved here, how to add the following as a legend
new_labels = list(rf[:5].index)