Skip to content

Commit 4f9ba35

Browse files
committed
fix plot3d
1 parent 8672ee5 commit 4f9ba35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plot3d.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ mutable struct LazyPyModule
88
end
99

1010
_ispynull(x::Py) = PythonCall.getptr(x) == PythonCall.C.PyNULL
11-
PythonCall.Py(m::LazyPyModule) = _ispynull(getfield(m, :o)) ? pycopy!(getfield(m, :o), pyimport(getfield(m, :name))) : getfield(m, :o)
11+
PythonCall.Py(m::LazyPyModule) = _ispynull(getfield(m, :o)) ? PythonCall.pycopy!(getfield(m, :o), pyimport(getfield(m, :name))) : getfield(m, :o)
1212
Base.Docs.doc(m::LazyPyModule) = Base.Docs.Text(pyconvert(String, Py(m).__doc__))
1313
Base.getproperty(m::LazyPyModule, x::Symbol) = getproperty(Py(m), x)
1414
Base.setproperty!(m::LazyPyModule, x::Symbol, v) = setproperty!(Py(m), x, v)

0 commit comments

Comments
 (0)