lib/matplotlib/iruby.rb in matplotlib-0.1.0.alpha.20170226 vs lib/matplotlib/iruby.rb in matplotlib-0.1.0.alpha.20170302
- old
+ new
@@ -30,11 +30,9 @@
class << self
# NOTE: This method is translated from `IPython.core.activate_matplotlib` function.
def activate(gui=:inline)
require 'matplotlib/pyplot'
- figure_class = Pyplot.__pyobj__.Figure
- PyCall::Conversions.python_type_mapping(figure_class, Figure)
end
end
end
end