About 1,080 results
Open links in new tab
  1. Major and minor ticks — Matplotlib 3.10.9 documentation

    Automatic tick selection for major and minor ticks. Use interactive pan and zoom to see how the tick intervals change. There will be either 4 or 5 minor tick intervals per major interval, depending on the …

  2. how to turn on minor ticks only on y axis - Stack Overflow

    Oct 3, 2012 · When I use the function minor_ticks_on to turn minor ticks on, they appear on both x and y axis. Nevermind, I figured it out. Here's another way I found in the matplotlib documentation: This will …

  3. Customizing Minor Ticks in Matplotlib: Turning on Minor Ticks Only …

    Jul 4, 2024 · Customizing ticks in Matplotlib enhances the readability and precision of your plots. This article provided a comprehensive guide on how to turn on minor ticks only on the y-axis, along with …

  4. How to Set Minor Ticks in Matplotlib - Delft Stack

    Mar 11, 2025 · In this article, we will explore how to enable and customize minor ticks in Matplotlib. Whether you’re a beginner or an experienced user, this guide will help you make your plots more …

  5. How To Turn On Minor Ticks Matplotlib - blog.entomologist.net

    Apr 1, 2026 · To enable minor ticks in Matplotlib, utilize the minorticks_on () method from the Axes class, which activates minor ticks for the current axes. Minor ticks are disabled by default, using NullLocator …

  6. How to turn on minor ticks only on y axis matplotlib - iDiTect.com

    To turn on minor ticks only on the y-axis in Matplotlib, you can use the set_minor_locator method of the y-axis (usually the left y-axis) and configure the MultipleLocator class from the matplotlib.ticker module.

  7. Log‑Log Scale in Matplotlib with Minor Ticks and Colorbar

    Oct 8, 2025 · In this tutorial, I’ll walk you through how I use Matplotlib’s log‑log scale with minor ticks and colorbars. I’ll share two methods for each so you can choose the one that fits best for your project.

  8. Changing the Ticks on the x or y Axis in Matplotlib - Baeldung

    May 12, 2025 · Usually, major ticks are labeled, while minor ticks are drawn without labels to avoid cluttering the plot. In this tutorial, we’ll explain four ways to customize ticks in Matplotlib:

  9. Ticks in Matplotlib - brandonrohrer.com

    By default, major ticks are initialized with an Auto locator, but minor ticks aren't. To turn them on, we have to import the AutoMinorLocator and use it to set minor ticks for the x- and y-axes.

  10. Matplotlib - Tick Locators - Online Tutorials Library

    These classes include generic tick locators, Formatters, and domain-specific custom ones. While locators are unaware of major or minor ticks, they are used by the Axis class to support major and …