lib/matplotlib.rb in matplotlib-0.1.0.alpha.20170224 vs lib/matplotlib.rb in matplotlib-0.1.0.alpha.20170226
- old
+ new
@@ -23,6 +23,13 @@
# FIXME: MacOSX backend is unavailable via pycall.
# I don't know why it is.
if Matplotlib.get_backend() == 'MacOSX'
Matplotlib.use('TkAgg')
end
+
+ class Error < StandardError
+ end
+
+ class Figure
+ include PyCall::PyObjectWrapper
+ end
end