class_docstr: A class to toggle numba states.
class_docstr_tok: ["A","class","to","toggle","numba","states","."]
docstr: To enable numba.
docstr_tok: ["To","enable","numba","."]
code: def enable_numba(cls):
      """To enable numba."""
      if numba_check():
          cls.numba_flag = True
      else:
          raise ValueError("Numba is not installed")
  
imports: import functools
  import importlib
  import importlib.resources
  import re
  import warnings
  from functools import lru_cache
  import matplotlib.pyplot
  import numpy
  from numpy import newaxis
  from .rcparams import rcParams
label_desc: Use image node_id 2 for calling the Numba obj's underlying member method code with example usage: obj.enable_numba(cls) without return types