So basically around 2019 matplotlib developers decided, if you like to get the x-axis minor ticks, they do not want to give you the minor ticks if they overlap with the majo