✊🏿 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 force show axis 'last' or 'max' tick labels - only shows 'second last' ticker by default

How to force show axis ‘max’ tick labels - only shows ‘second last’ ticker by default

As in attached image, the plot doesn’t show ‘last’ or ‘max’ y and x axis tick labels.

There is data greater than the last tick label shown, but the user is left guessing what it is.

How can we force plot to show axis ‘last’ or ‘max’ tick labels?