parameters: (self, line_id)
return_statement: return line.get_xdata(), line.get_ydata()
docstring: Get vecX and vecY from line object in matplotlib
          :param line_id:
          :return: 2-tuple as vector X and vector Y
docstring_summary: Get vecX and vecY from line object in matplotlib
          :param line_id:
          :return: 2-tuple as vector X and vector Y
docstring_tokens: Get vecX and vecY from line object in matplotlib : param line_id : : return : 2 - tuple as vector X and vector Y
function: def get_data(self, line_id):
          """
          Get vecX and vecY from line object in matplotlib
          :param line_id:
          :return: 2-tuple as vector X and vector Y
          """
          if line_id in self._lineDict:
              # single line
              # get line and check
              line = self._lineDict[line_id]
              if line is None:
                  raise RuntimeError('Line ID %s has been removed.' % line_id)
  
          elif line_id in self._errorBarDict:
              # single line with error
              # get line and check
              content = self._errorBarDict[line_id]
              if content is None:
                  raise RuntimeError('Line ID {0} has been removed from error-bar dict.'.format(line_id))
              line = content[0]
  
          else:
              # not anywhere
              raise KeyError('Line ID %s does not exist.' % str(line_id))
  
          return line.get_xdata(), line.get_ydata()
function_tokens: def get_data ( self , line_id ) : if line_id in self . _lineDict : # single line # get line and check line = self . _lineDict [ line_id ] if line is None : raise RuntimeError ( 'Line ID %s has been removed.' % line_id ) elif line_id in self . _errorBarDict : # single line with error # get line and check content = self . _errorBarDict [ line_id ] if content is None : raise RuntimeError ( 'Line ID {0} has been removed from error-bar dict.' . format ( line_id ) ) line = content [ 0 ] else : # not anywhere raise KeyError ( 'Line ID %s does not exist.' % str ( line_id ) ) return line . get_xdata ( ) , line . get_ydata ( )