code: def get_yaxis_ticks(pack: LayoutPack, ax: Axes) -> Iterator[Tick]:
      """
      Return all YTicks that will be shown
      """
      is_blank = pack.theme.themeables.is_blank
      major, minor = [], []
  
      if not is_blank("axis_ticks_major_y"):
          major = ax.yaxis.get_major_ticks()
  
      if not is_blank("axis_ticks_minor_y"):
          minor = ax.yaxis.get_minor_ticks()
  
      return chain(major, minor)
  
imports: from __future__ import annotations
  import typing
  from abc import ABC
  from dataclasses import dataclass, fields
  from itertools import chain
  from matplotlib._tight_layout import get_subplotspec_list
  from ..facets import facet_grid, facet_null, facet_wrap
  from .patches import SFancyBboxPatch
  from .utils import bbox_in_figure_space, tight_bbox_in_figure_space
label_desc: Use image node_id 13 for calling a global function with example usage: get_yaxis_ticks(pack, ax) and returns: chain