EXA Changed deprecated method set_axis_bgcolor to set_facecolor.
@@ -121,6 +121,9 @@ for i, (name, this_prec) in enumerate(precs):
plt.xticks(())
plt.yticks(())
plt.title('%s precision' % name)
+ if hasattr(ax, 'set_facecolor'):
+ ax.set_facecolor('.7')
+ else:
ax.set_axis_bgcolor('.7')
# plot the model selection metric
