def create_chart(klass, values, compute_values=True, **kws):
 _chart = klass(values, title='title', xlabel='xlabel', ylabel='ylabel', legend='top_left', xscale='linear', yscale='linear', width=800, height=600, tools=True, filename=False, server=False, notebook=False, **kws)
 return _chart

def create_chart ( klass , values , compute_values = True , ** kws ) : _chart = klass ( values , title = 'title' , xlabel = 'xlabel' , ylabel = 'ylabel' , legend = 'top_left' , xscale = 'linear' , yscale = 'linear' , width = 800 , height = 600 , tools = True , filename = False , server = False , notebook = False , ** kws ) return _chart
create a new chart class instance with values and the extra kws keyword parameters .