How to add a legend to folium heatmap without change the default color?

Hi, I am making a heatmap with folium component.
It seems that folium not have its own legend to reflect the color range on the heatmap.
I have used the branca.colormap, such as branca.colormap.linear. YlOrRd_09.scale(0, 1).to_step(steps)

but it changed the default color of folium inside and the branca.colormap color is ugly than folium default color.

How can we do a legend colorbar without change the defalut color inside folium and how to calcute different color percentage on the folium heatmap?

Thank you.