check for pycall version

This commit is contained in:
Michael Krabbe Borregaard 2019-02-28 23:50:06 +01:00
parent 248f7cce90
commit a33b3cfbd8

View File

@ -1321,7 +1321,7 @@ end
# display/output # display/output
function _display(plt::Plot{PyPlotBackend}) function _display(plt::Plot{PyPlotBackend})
plt.o.show() isdefined(PyCall, :_setproperty!) ? plt.o.show() : plot.o[:show]()
end end