# Rotor Diameter vs. Turbine Manufacturer mf_grouped = df . groupby ( 'Turbine Manufacturer' ) mean_grouped = mf_grouped . mean () . dropna () mean_rd = mean_grouped . sort ( 'Rotor Diameter' )[ 'Rotor Diameter' ] rotor_diam = vincent . Bar ( mean_rd ) rotor_diam . axis_titles ( x = 'Turbine Manufacturer' , y = 'Rotor Diameter' ) # The Hard Way from vincent.axes import AxisProperties from vincent.properties import PropertySet from vincent.values import ValueRef for axis in rotor_diam . axes : axis . properties = AxisProperties () for prop in [ 'ticks' , 'axis' , 'major_ticks' , 'minor_ticks' ]: setattr ( axis . properties , prop , PropertySet ( stroke = ValueRef ( value = axis_color ))) axis . properties . title = PropertySet ( font_size = ValueRef ( value = 20 ), fill = ValueRef ( value = axis_color )) axis . properties . labels = PropertySet ( fill = ValueRef ( value = axis_color )) rotor_diam . axes [ 0 ] . properties . labels . angle = ValueRef ( value = 50 ) rotor_diam . axes [ 0 ] . properties . labels . align = ValueRef ( value = 'left' ) rotor_diam . axes [ 0 ] . properties . title . dy = ValueRef ( value = 115 ) rotor_diam . scales [ 2 ] . range = [ '#b48ead' ] rotor_diam