show_nticks

autoeis.visualization.show_nticks(ax: Axes, x: bool = True, y: bool = False, n: int = 10)

In-place modifies Matplotlib axes to show only n ticks.

Parameters:
  • ax (plt.Axes) – Axes to modify.

  • x (bool, optional) – If True, applies the filter to the x-axis. Default is True.

  • y (bool, optional) – If True, applies the filter to the y-axis. Default is False.

  • n (int, optional) – Number of ticks to show. Default is 10.