xticks and yticks (Matplotlib)

set_xticks() and set_xticklabels() control where the tick marks sit on an axis and what text labels them. They let you place ticks at chosen positions and…