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 65
65
PythonCall. Py (f:: Figure ) = getfield (f, :o )
66
66
PythonCall. pyconvert (:: Type{Figure} , o:: Py ) = Figure (o)
67
67
Base.:(== )(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))
70
69
Base. hash (f:: Figure , h:: UInt ) = hash (Py (f), h)
71
70
PythonCall. pycall (f:: Figure , args... ; kws... ) = pycall (Py (f), args... ; kws... )
72
71
(f:: Figure )(args... ; kws... ) = pycall (Py (f), PyAny, args... ; kws... )
Original file line number Diff line number Diff line change 13
13
14
14
PythonCall. Py (c:: ColorMap ) = getfield (c, :o )
15
15
PythonCall. 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))
19
18
Base. hash (c:: ColorMap , h:: UInt ) = hash (Py (c), h)
20
19
PythonCall. pycall (c:: ColorMap , args... ; kws... ) = pycall (Py (c), args... ; kws... )
21
20
(c:: ColorMap )(args... ; kws... ) = pycall (Py (c), args... ; kws... )
You can’t perform that action at this time.
0 commit comments