Closed singularitti closed 1 year ago
I think this is leftover from the PyPlot/PyCall conversion.
I'm actually not sure why we have this method at all. Are Matplotlib figure objects callable?
Hmm, it stems from https://github.com/JuliaPy/PyPlot.jl/commit/62ff118487c942bbd9b1f38b712981736650d7e6 …
Comes from this post on julia-users. Looks like ColorMap
objects should be callable, and I added it to Figure
for good measure.
Nope, it's not callable. I get:
ERROR: Python: TypeError: 'Figure' object is not callable
so I should probably just delete this method.
Hi, when I was reading your code, I found this line includes type
PyAny
, which seems to be defined only in PyCall, but not PythonCall:Could it be a typo?