def create_line(data):
 return Line(data, x='year', y=countries, legend=True, width=1400, height=300, ylabel='Energy use per capita', palette=['purple', 'green', 'blue', 'pink'])

def create_line ( data ) : return Line ( data , x = 'year' , y = countries , legend = True , width = 1400 , height = 300 , ylabel = 'Energy use per capita' , palette = [ 'purple' , 'green' , 'blue' , 'pink' ] )
convenience function to create a new line chart with the right args .