fix plotting on matplotlib 1.5
This commit is contained in:
parent
fb5307ace6
commit
51a4a050b3
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user