Skip to content

Commit

Permalink
Merge pull request #711 from mkborregaard/fix-pyplot-deprecation-warning
Browse files Browse the repository at this point in the history
fix set_axis_bgcolor
  • Loading branch information
tbreloff authored Mar 1, 2017
2 parents ff797b1 + 7aca2b1 commit 8b90eb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backends/pyplot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1075,7 +1075,7 @@ function _before_layout_calcs(plt::Plot{PyPlotBackend})
py_add_legend(plt, sp, ax)

# this sets the bg color inside the grid
ax[:set_axis_bgcolor](py_color(sp[:background_color_inside]))
ax[:set_facecolor](py_color(sp[:background_color_inside]))
end
py_drawfig(fig)
end
Expand Down

0 comments on commit 8b90eb3

Please sign in to comment.