class_docstr: Singleton object containing the current figure templates (aka themes)
class_docstr_tok: ["Singleton","object","containing","the","current","figure","templates","(","aka","themes",")"]
code: def __delitem__(self, key):
      # Remove template
      del self._templates[key]
  
      # Check if we need to remove it as the default
      if self._default == key:
          self._default = None
  
imports: from __future__ import absolute_import
  import textwrap
  import pkgutil
  import copy
  import os
  import json
  from functools import reduce
  from six import string_types
label_desc: Use image node_id 7 for calling the TemplatesConfig obj's underlying member method code with example usage: obj.__delitem__(key) without return types