Add auto minor ticks
This commit is contained in:
parent
9cde38b620
commit
48896c9529
@ -9,7 +9,7 @@ import numpy
|
||||
from numpy.typing import NDArray
|
||||
import polars
|
||||
from polars import col
|
||||
from matplotlib import pyplot, gridspec
|
||||
from matplotlib import pyplot, gridspec, ticker
|
||||
from matplotlib.figure import Figure
|
||||
from matplotlib.axes import Axes
|
||||
|
||||
@ -203,6 +203,7 @@ def variability_plot(
|
||||
ax.grid(alpha=1, which='major')
|
||||
ax.set_ylabel(data_col)
|
||||
ax.set_title(data_col)
|
||||
ax.yaxis.set_minor_locator(ticker.AutoMinorLocator())
|
||||
|
||||
def resize_labels(event) -> None:
|
||||
# Resize labels
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user