I have set
import matplotlib as mpl AXES_COLOR = \'#333333\' mpl.rc(\'axes\', edgecolor=AXES_COLOR, labelcolor=AXES_COLOR, grid=True) mpl.rc(\'xtick\', color
Instead of changing axis3d.py try this: ax.w_xaxis.line.set_color("red")
ax.w_xaxis.line.set_color("red")