lib/matplotlib/spines.rb in matplotlib-0.1.0.alpha.20170426 vs lib/matplotlib/spines.rb in matplotlib-1.0.0
- old
+ new
@@ -1,6 +1,4 @@
module Matplotlib
- class Spine
- include PyCall::PyObjectWrapper
- wrap_class PyCall.import_module('matplotlib.spines').Spine
- end
+ Spine = PyCall.import_module('matplotlib.spines').Spine
+ Spine.__send__ :register_python_type_mapping
end