code: def _copy_css_file(app, exc):
      if exc is None and app.builder.format == "html":
          src = cbook._get_data_path(
              "plot_directive/plot_directive.css"
          )
          dst = app.outdir / Path("_static")
          dst.mkdir(exist_ok=True)
          # Use copyfile because we do not want to copy src's permissions.
          shutil.copyfile(src, dst / Path("plot_directive.css"))
  
imports: import contextlib
  import doctest
  from io import StringIO
  import itertools
  import os
  from os.path import relpath
  from pathlib import Path
  import re
  import shutil
  import sys
  import textwrap
  import traceback
  from docutils.parsers.rst import directives, Directive
  from docutils.parsers.rst.directives.images import Image
  import jinja2
  from sphinx.errors import ExtensionError
  import matplotlib
  from matplotlib.backend_bases import FigureManagerBase
  import matplotlib.pyplot
  from matplotlib import _pylab_helpers, cbook
label_desc: Use image node_id 5 for calling a global function with example usage: _copy_css_file(app, exc) without return types