Control Matplotlib Axis Ticks with Custom Locators and Formatters
Control Matplotlib tick placement and label formatting with Locators and Formatters. Use MultipleLocator for fixed intervals, FuncFormatter for custom text, and MaxNLocator with FormatStrFormatter to cap tick count and precision.