def color_y_axis(ax, color):
 for t in ax.get_yticklabels():
  t.set_color(color)
 return None

def color_y_axis ( ax , color ) : for t in ax . get_yticklabels ( ) : t . set_color ( color ) return None
color your axes .