code: def test_plot_common(plot_f, request):
      # Test the common plot functionalities
      plot = request.getfixturevalue(plot_f)
      c = (1.0, 0.0, 1.0, 1.0)
      w = 5
      s = "-."
      l = "Label"
  
      plot.color = c
      assert plot.color == c
      assert plot.brush.color == c
  
      if hasattr(plot, "GetPen"):
          assert plot.pen.__this__ == plot.GetPen().__this__
      if hasattr(plot, "GetBrush"):
          assert plot.brush.__this__ == plot.GetBrush().__this__
  
      plot.line_width = w
      assert plot.pen.width == w
      plot.line_style = s
      assert plot.pen.style == s
  
      plot.label = l
      assert plot.label == l
      assert plot.GetLabel() == l
  
      plot.visible = False
      assert not plot.visible
      assert not plot.GetVisible()
      plot.toggle()
      assert plot.visible
      assert plot.GetVisible()
  
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 35 for calling a global function with example usage: test_plot_common(plot_f, request) without return types