Skip to content

Commit 52341c2

Browse files
committed
Add a wrapper of PolarAxes
1 parent d47fa93 commit 52341c2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

lib/matplotlib.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ class Error < StandardError
3535
end
3636

3737
require 'matplotlib/axes'
38+
require 'matplotlib/polar_axes'
3839
require 'matplotlib/figure'
3940

4041
PyCall.append_sys_path(File.expand_path('../matplotlib/python', __FILE__))

lib/matplotlib/polar_axes.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module Matplotlib
2+
class PolarAxes
3+
include PyCall::PyObjectWrapper
4+
wrap_class PyCall.import_module('matplotlib.projections.polar').PolarAxes
5+
end
6+
end

0 commit comments

Comments
 (0)