Fix Deprecation Warning

Fix for the warning:
sys:1: MatplotlibDeprecationWarning: The set_axis_bgcolor function was deprecated in version 2.0. Use set_facecolor instead.
This commit is contained in:
Christopher Rackauckas 2016-05-12 18:55:55 -07:00
parent 85f7acf9d5
commit 73aa61ceb6

View File

@ -737,7 +737,7 @@ function _add_series(pkg::PyPlotBackend, plt::Plot, d::KW)
end
# this sets the bg color inside the grid
ax[:set_axis_bgcolor](getPyPlotColor(plt.plotargs[:background_color_inside]))
ax[:set_facecolor](getPyPlotColor(plt.plotargs[:background_color_inside]))
# handle area filling
fillrange = d[:fillrange]