code: def bar_input_argument_tests():
      options = {
          "kind": ["bar", "barh"],
          "barmode": ["stack", "overlay", "group"],
          "bargap": [0.1],
          "subplots": [True],
      }
  
      def bar_test(self, **kwargs):
          self._iplot(self.df, **kwargs)
  
      _generate_tests(TestIPlot, bar_test, "bar", options)
  
imports: import cufflinks
  import pandas
  import numpy
  import unittest
  from nose.tools import assert_equals
label_desc: Use image node_id 2 for calling a global function with example usage: bar_input_argument_tests() without return types