docstr: Set force_report_as_image. If True, all matplotlib are always converted to images.
  Otherwise we try to convert them into interactive plotly plots.
  :param force: True force
docstr_tok: ["Set","force_report_as_image",".","If","True",",","all","matplotlib","are","always","converted","to","images",".","Otherwise","we","try","to","convert","them","into","interactive","plotly","plots",".",":","param","force",":","True","force"]
code: def force_report_as_image(force):
      # type: (bool) -> None
      """
      Set force_report_as_image. If True, all matplotlib are always converted to images.
      Otherwise we try to convert them into interactive plotly plots.
      :param force: True force
      """
      PatchedMatplotlib._force_report_as_image = bool(force)
  
imports: import sys
  import threading
  from copy import deepcopy
  from tempfile import mkstemp
  import six
  from six import BytesIO
  from .import_bind import PostImportHookPatching
  from ..config import running_remotely
  from ..debugging.log import LoggerRoot
  from ..utilities.resource_monitor import ResourceMonitor
label_desc: Use image node_id 1 for calling the PatchedMatplotlib obj's underlying member method code with example usage: obj.force_report_as_image(force) without return types