✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚾️ It's finally Baseball season! Root for the home team... & Register for our Sports Analytics Webinar!

Diff color for negative values in Bar Graph?

I am trying to plot a bar graph from a pandas dataframe using cufflinks and plotly API for python and want a different color for negative values vs positive value in the same graph.

As of now, they are all the same color, is there a way to achieve this ?

Look at the last example of the matlab bar examples: