code: def test_AxisItem_viewUnlink():
      plot = pg.PlotWidget()
      view = plot.plotItem.getViewBox()
      axis = plot.getAxis("bottom")
      assert axis.linkedView() == view
      axis.unlinkFromView()
      assert axis.linkedView() is None
  
file_path: pyqtgraph/tests/graphicsItems/test_AxisItem.py
imports: from math import isclose
  import pytest
  import pyqtgraph
label_desc: Use image node_id 2 for calling a global function with example usage: test_AxisItem_viewUnlink() without return types