class_docstr: Utility renderer using Matplotlib to render a grid of plots over the same (x, y) range.
  
  Args:
      nrows (int, optional): Number of rows of plots, default ``1``.
      ncols (int, optional): Number of columns of plots, default ``1``.
      figsize (tuple(float, float), optional): Figure size in inches, default ``(9, 9)``.
      show_frame (bool, optional): Whether to show frame and axes ticks, default ``True``.
      backend (str, optional): Matplotlib backend to use or ``None`` for default backend.
          Default ``None``.
      gridspec_kw (dict, optional): Gridspec keyword arguments to pass to ``plt.subplots``,
          default None.
docstr: Plot contour lines on a single Axes.
  
  Args:
      lines (sequence of arrays): Contour line data as returned by
          :func:`~contourpy.ContourGenerator.lines`.
      line_type (LineType or str): Type of ``lines`` data as returned by
          :attr:`~contourpy.ContourGenerator.line_type`, or string equivalent.
      ax (int or Matplotlib Axes, optional): Which Axes to plot on, default ``0``.
      color (str, optional): Color to plot lines. May be a string color or the letter ``"C"``
          followed by an integer in the range ``"C0"`` to ``"C9"`` to use a color from the
          ``tab10`` colormap. Default ``"C0"``.
      alpha (float, optional): Opacity to plot lines with, default ``1.0``.
      linewidth (float, optional): Width of lines, default ``1``.
code: def lines(
      self,
      lines: cpy.LineReturn,
      line_type: LineType | str,
      ax: Axes | int = 0,
      color: str = "C0",
      alpha: float = 1.0,
      linewidth: float = 1,
  ) -> None:
      """Plot contour lines on a single Axes.
  
      Args:
          lines (sequence of arrays): Contour line data as returned by
              :func:`~contourpy.ContourGenerator.lines`.
          line_type (LineType or str): Type of ``lines`` data as returned by
              :attr:`~contourpy.ContourGenerator.line_type`, or string equivalent.
          ax (int or Matplotlib Axes, optional): Which Axes to plot on, default ``0``.
          color (str, optional): Color to plot lines. May be a string color or the letter ``"C"``
              followed by an integer in the range ``"C0"`` to ``"C9"`` to use a color from the
              ``tab10`` colormap. Default ``"C0"``.
          alpha (float, optional): Opacity to plot lines with, default ``1.0``.
          linewidth (float, optional): Width of lines, default ``1``.
      """
      line_type = as_line_type(line_type)
      ax = self._get_ax(ax)
      paths = lines_to_mpl_paths(lines, line_type)
      collection = mcollections.PathCollection(
          paths,
          facecolors="none",
          edgecolors=color,
          lw=linewidth,
          alpha=alpha,
      )
      ax.add_collection(collection)
      ax._need_autoscale = True
  
imports: from __future__ import annotations
  from collections.abc import Sequence
  import io
  from typing import TYPE_CHECKING, Any, cast
  import matplotlib.collections
  import matplotlib.pyplot
  import numpy
  from contourpy import FillType, LineType
  from contourpy.convert import convert_filled, convert_lines
  from contourpy.enum_util import as_fill_type, as_line_type
  from contourpy.util.mpl_util import filled_to_mpl_paths, lines_to_mpl_paths
  from contourpy.util.renderer import Renderer
label_desc: Use image node_id 7 for calling the MplRenderer obj's underlying member method code with example usage: obj.lines(lines, line_type, ax, color, alpha, linewidth) without return types