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

How to change the value of the scale on the x-axis?

I logged the horizontal coordinates when using plotly, producing the figure shown below:

I don’t understand how to eliminate the numbers 2, 5 on the x-axis. How can I eliminate these 2 and 5 in this figure?