def set_axis_color(axis, color, alpha=None):
for side in ('<STR_LIT>', '<STR_LIT:right>',  '<STR_LIT>', '<STR_LIT:left>'):<EOL><INDENT>spine = axis.spines[side]<EOL>spine.set_color(color)<EOL>if alpha is not None:<EOL><INDENT>spine.set_alpha(alpha)<EOL><DEDENT><DEDENT>
Sets the spine color of all sides of an axis (top, right, bottom, left).