Is possible to use gradient in bar charts?

I have the same question (for Plotly R though), but I have not found any clue.

I have found some similar questions for Plotly Python in the community but none of them have any comments let alone answers. Perhaps is useful to have them linked here:

Also, there are two questions in SO that might help those using Dash Python, though I am not sure they solve the same problem: