So far, we have seen Matplotlib automatically placing ticks and ticklabels based on input data. In this recipe, we will learn how to customize these default settings on both the x and y axes for categorical and numerical variables.