Figure updates on plotly.express is not working. Defualt Background colors and axes feautes are not changing

Can any one help me in changing the plot background color and axes. I also want to invert Y axis so that the plot look like a inverted triangle. Thank you for your help. I have used following commands for changing background color, but looks like it is not working.