✊🏿 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!

Remove minor axis tick digits

I have a log plot showing powers of 10 tick marks. I also want to show the in-between horizontal grid lines but I don’t want the small digits.

I’m using the following code to setup the y axis:

fig.update_yaxes(type="log", range=[np.log10(100), np.log10(100000000)],exponentformat="power",dtick="D1" )

I’m trying to remove/hide the small single digit numbers on the y axis in-between the powers of ten.

I attach an image with what I have.

Untitled