Last active
August 3, 2022 06:10
-
-
Save mjhong0708/57e7b19f83fc2529a5263c9bce0c17e3 to your computer and use it in GitHub Desktop.
matplotlib_number of minorticks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.ticker | |
class MyLocator(matplotlib.ticker.AutoMinorLocator): | |
def __init__(self, n=2): | |
super().__init__(n=n) | |
matplotlib.ticker.AutoMinorLocator = MyLocator |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment