class_docstr: A two-way, non-unique dict-like mapping between keys used to set
  the matplotlib plotting backend in Python and IPython environments.
  Primarily used by `as_python()` and `as_ipython()` methods of
  `HypertoolsBackend`.  Funnels multiple equivalent keys within the
  same interpreter (Python vs. IPython) to a "default", then maps
  between that and the analog from the other interpreter type. At
  either step, a key with no corresponding value returns the key (see
  `ParrotDict` docstring for more info).
class_docstr_tok: ["A","two-way",",","non-unique","dict-like","mapping","between","keys","used","to","set","the","matplotlib","plotting","backend","in","Python","and","IPython","environments",".","Primarily","used","by","`","as_python","(",")","`","and","`","as_ipython","(",")","`","methods","of","`","HypertoolsBackend","`",".","Funnels","multiple","equivalent","keys","within","the","same","interpreter","(","Python","vs.","IPython",")","to","a","``","default","''",",","then","maps","between","that","and","the","analog","from","the","other","interpreter","type",".","At","either","step",",","a","key","with","no","corresponding","value","returns","the","key","(","see","`","ParrotDict","`","docstring","for","more","info",")","."]
code: def _store_equivalents(self, keylist):
      if not isinstance(keylist, str) and isinstance(keylist, Iterable):
          default_key = keylist[0]
          for key_equiv in keylist[1:]:
              self.equivalents[key_equiv] = default_key
      else:
          default_key = keylist
      return default_key
  
imports: import inspect
  import sys
  import traceback
  import warnings
  from contextlib import contextmanager, redirect_stdout
  from functools import wraps
  from io import StringIO
  from os import getenv
  from typing import Iterable
  import matplotlib
  import matplotlib.pyplot
  from .._shared.exceptions import HypertoolsBackendError
label_desc: Use image node_id 2 for calling the BackendMapping obj's underlying member method code with example usage: obj._store_equivalents(keylist) and returns: default_key