docs: def bar(self,xdata,ydata,disp=True,**kwargs):
          '''Displays a bar graph.
          
          xdata: list of bar graph categories/bins. Can optionally include a header, see testGraph_barAndHist.py in https://github.com/Dfenestrator/GooPyCharts for an example.
          ydata: list of values associated with categories in xdata. If xdata includes a header, include a header list on ydata as well.
          disp: for displaying plots immediately. Set to True by default. Set to False for other operations, then use show() to display the plot.
          **kwargs: Access to other Google Charts API options. The key is the option name, the value is the option's full JS code.
          '''
                  
          #combine data into proper format
          data = combineData(xdata,ydata,self.xlabel)
  
          #Include other options, supplied by **kwargs
          other = ''
  
          for option in kwargs:
              other += option + ': ' + kwargs[option] + ',\n'
  
          #input argument format to template is in dictionary format (see template for where variables are inserted)
          argDict = { 'data':str(data),
                      'title':self.title,
                      'functionName':slugify(self.title),
                      'height':self.height,
                      'width':self.width,
                      'logScaleFlag':'false',
                      'ylabel':self.ylabel,
                      'plotType':'BarChart',
                      'numFig':self.numFig,
                      'other':other}
  
          self.javascript = templateType(xdata) % argDict
          
          if disp:
              self.dispFile()