✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Changing units of Y axis in Bar Graph(Billions to Millions)

I am plotting a bar graph here . It should display values . But the height of the bar(medical) is not visible . So how to change the Y axis values from Billions to millions so that the bar can be seen clearly .

Here’s my code . . .
fig=go.Figure([go.Bar(x=comm,y=valus)])
return fig

This worked for me

fig.update_yaxes(type="log")