legend in plotnet figure

Hello,

I plotted a neural interpetation diagram with garson test in the input neurons.
But I don't know how can I add a legend with relative importance color rank, like this:

image

The diagram looks like this, and I used color green in the rank:

image

Can someone help please?!