fix plotting on matplotlib 1.5

This commit is contained in:
Daniel Schwabeneder 2020-07-03 11:05:26 +02:00
parent fb5307ace6
commit 51a4a050b3

View File

@ -931,7 +931,7 @@ function _before_layout_calcs(plt::Plot{PyPlotBackend})
fig."clear"() fig."clear"()
dpi = plt[:dpi] dpi = plt[:dpi]
fig."set_size_inches"(w/DPI, h/DPI, forward = true) fig."set_size_inches"(w/DPI, h/DPI, forward = true)
getproperty(fig, set_facecolor_sym)(py_color(plt[:background_color_outside])) fig."set_facecolor"(py_color(plt[:background_color_outside]))
fig."set_dpi"(plt[:dpi]) fig."set_dpi"(plt[:dpi])
# resize the window # resize the window