✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Changing Y-axis font size in Plotly Express

Hello. I’m wondering, is there a way to modify the Y-axis font size of horizontal bar chart in plotly express ?

Example: I want to change the font size of my rows.

I think you can do:

fig.update_layout(
yaxis = dict(
tickfont = dict(size=20)))
1 Like

Thanks @adamschroeder ! That should do the work.