You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The python code runs well, but when I run the ruby code, I get following error messages
/var/lib/gems/2.3.0/gems/pycall-0.1.0.alpha.20170711/lib/pycall/pyobject_wrapper.rb:179:in`call': pytype(TypeError): TypeError("set_figure() missing 1 required positional argument: 'fig'",) (PyCall::PyError) File "/home/kaidonghu/.anaconda3/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 1739, in add_artist self._set_artist_props(a) File "/home/kaidonghu/.anaconda3/lib/python3.6/site-packages/matplotlib/axes/_base.py", line 924, in _set_artist_props a.set_figure(self.figure) from /var/lib/gems/2.3.0/gems/pycall-0.1.0.alpha.20170711/lib/pycall/pyobject_wrapper.rb:34:in `block(2levels)inwrap_class' from test.rb:7:in `<main>'
Is there anything I missed to let this happen? Thanks!
The text was updated successfully, but these errors were encountered:
I was trying to migrate this script to ruby
with
The python code runs well, but when I run the ruby code, I get following error messages
Is there anything I missed to let this happen? Thanks!
The text was updated successfully, but these errors were encountered: