class_docstr: Base class for factors representing various multivariate
  representations.
docstr: Returns the scope of the factor.
  
  Returns
  -------
  list: List of variable names in the scope of the factor.
  
  Examples
  --------
  >>> from pgmpy.factors.continuous import ContinuousFactor
  >>> from scipy.stats import multivariate_normal
  >>> normal_pdf = lambda x: multivariate_normal(x, [0, 0], [[1, 0], [0, 1]])
  >>> phi = ContinuousFactor(['x1', 'x2'], normal_pdf)
  >>> phi.scope()
  ['x1', 'x2']
docstr_tok: ["Returns","the","scope","of","the","factor",".","Returns","--","--","--","-","list",":","List","of","variable","names","in","the","scope","of","the","factor",".","Examples","--","--","--","--",">",">",">","from","pgmpy.factors.continuous","import","ContinuousFactor",">",">",">","from","scipy.stats","import","multivariate_normal",">",">",">","normal_pdf","=","lambda","x",":","multivariate_normal","(","x",",","[","0",",","0","]",",","[","[","1",",","0","]",",","[","0",",","1","]","]",")",">",">",">","phi","=","ContinuousFactor","(","[","'x1","'",",","'x2","'","]",",","normal_pdf",")",">",">",">","phi.scope","(",")","[","'x1","'",",","'x2","'","]"]
code: def scope(self):
      """
      Returns the scope of the factor.
  
      Returns
      -------
      list: List of variable names in the scope of the factor.
  
      Examples
      --------
      >>> from pgmpy.factors.continuous import ContinuousFactor
      >>> from scipy.stats import multivariate_normal
      >>> normal_pdf = lambda x: multivariate_normal(x, [0, 0], [[1, 0], [0, 1]])
      >>> phi = ContinuousFactor(['x1', 'x2'], normal_pdf)
      >>> phi.scope()
      ['x1', 'x2']
      """
      return self.distribution.variables
  
imports: import types
  import numpy
  import scipy.integrate
  from pgmpy.factors.base import BaseFactor
  from pgmpy.factors.distributions import GaussianDistribution, CustomDistribution
label_desc: Use image node_id 4 for calling the ContinuousFactor obj's underlying member method code with example usage: obj.scope() and returns: self