code: def test_ignore_kwarg_None(
      self, xyz_levels: XYZ_Levels, kwarg_none: str
  ) -> None:
      x, y, z, levels = xyz_levels
      kwargs = dict(line_color="red", fill_color="blue")
      kwargs[kwarg_none] = None
      cr = from_contour(x, y, z, levels, **kwargs)
  
      # Identify empty CDS by checking length of levels for line contours and lower_levels or
      # upper_levels for filled contours, as xs and ys can be empty for other reasons (if there
      # are no contours at all).
      fill_len = len(cr.fill_renderer.data_source.data["lower_levels"])
      if kwarg_none == "fill_color":
          assert fill_len == 0
      else:
          assert fill_len > 0
  
      line_len = len(cr.line_renderer.data_source.data["levels"])
      if kwarg_none == "line_color":
          assert line_len == 0
      else:
          assert line_len > 0
  
imports: from __future__ import annotations
  import pytest
  from typing import TYPE_CHECKING
  import numpy
  from bokeh.plotting.contour import FillData, LineData, contour_data, from_contour
label_desc: Use image node_id 10 for calling the Test_from_contour obj's underlying member method code with example usage: obj.test_ignore_kwarg_None(xyz_levels, kwarg_none) without return types