UserWarning: FixedFormatter should only be used together with FixedLocator
The official matplotlib website suggests that:This method should only be used after fixing the tick positions using Axes.set_xticks. Otherwise, the labels may end up in unexpected positions.