code: def test_axis_tick_count(axis):
      tc = 10
      tc0 = axis.tick_count
      axis.tick_count = tc
      assert axis.tick_count == tc
      assert axis.GetNumberOfTicks() == tc
      axis.tick_count = None
      assert axis.tick_count == tc0
      assert axis.GetNumberOfTicks() == tc0
      axis.tick_count = -1
      assert axis.tick_count == tc0
      assert axis.GetNumberOfTicks() == tc0
  
imports: import itertools
  import platform
  import weakref
  import numpy
  import pytest
  from vtkmodules.vtkRenderingContext2D import vtkPen
  import pyvista
  from pyvista import examples
  from pyvista.plotting import charts
  from pyvista.plotting.colors import COLOR_SCHEMES
label_desc: Use image node_id 27 for calling a global function with example usage: test_axis_tick_count(axis) without return types