File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 6565PythonCall. Py (f:: Figure ) = getfield (f, :o )
6666PythonCall. pyconvert (:: Type{Figure} , o:: Py ) = Figure (o)
6767Base.:(== )(f:: Figure , g:: Figure ) = pyconvert (Bool, Py (f) == Py (g))
68- Base.:(== )(f:: Figure , g:: Py ) = pyconvert (Bool, Py (f) == g)
69- Base.:(== )(f:: Py , g:: Figure ) = pyconvert (Bool, f == Py (g))
68+ Base. isequal (f:: Figure , g:: Figure ) = isequal (Py (f), Py (g))
7069Base. hash (f:: Figure , h:: UInt ) = hash (Py (f), h)
7170PythonCall. pycall (f:: Figure , args... ; kws... ) = pycall (Py (f), args... ; kws... )
7271(f:: Figure )(args... ; kws... ) = pycall (Py (f), PyAny, args... ; kws... )
Original file line number Diff line number Diff line change 1313
1414PythonCall. Py (c:: ColorMap ) = getfield (c, :o )
1515PythonCall. pyconvert (:: Type{ColorMap} , o:: Py ) = ColorMap (o)
16- Base.:(== )(c:: ColorMap , g:: ColorMap ) = Py (c) == Py (g)
17- Base.:(== )(c:: Py , g:: ColorMap ) = c == Py (g)
18- Base.:(== )(c:: ColorMap , g:: Py ) = Py (c) == g
16+ Base.:(== )(c:: ColorMap , g:: ColorMap ) = pyconvert (Bool, Py (c) == Py (g))
17+ Base. isequal (c:: ColorMap , g:: ColorMap ) = isequal (Py (c), Py (g))
1918Base. hash (c:: ColorMap , h:: UInt ) = hash (Py (c), h)
2019PythonCall. pycall (c:: ColorMap , args... ; kws... ) = pycall (Py (c), args... ; kws... )
2120(c:: ColorMap )(args... ; kws... ) = pycall (Py (c), args... ; kws... )
You can’t perform that action at this time.
0 commit comments