lib/matplotlib/pyplot.rb in matplotlib-0.1.0.alpha.20170224 vs lib/matplotlib/pyplot.rb in matplotlib-0.1.0.alpha.20170226
- old
+ new
@@ -12,9 +12,13 @@
obj.(*args, **kwargs)
end
end
class << self
+ def __pyobj__
+ @pyplot
+ end
+
def method_missing(name, *args, **kwargs)
return super unless PyCall.hasattr?(@pyplot, name)
PyCall.getattr(@pyplot, name)
end
end