Sha256: bddf89faeebd6e6be71c717f15e4cde210ccb274a394afb4f6e0034bafe05dcd
Contents?: true
Size: 604 Bytes
Versions: 4
Compression:
Stored size: 604 Bytes
Contents
require 'matplotlib/version' require 'pycall' Matplotlib = PyCall.import_module('matplotlib') module Matplotlib VERSION = MATPLOTLIB_VERSION Object.class_eval { remove_const :MATPLOTLIB_VERSION } # FIXME: MacOSX backend is unavailable via pycall. # I don't know why it is. if get_backend == 'MacOSX' use('TkAgg') end class Error < StandardError end end require 'matplotlib/axis' require 'matplotlib/axes' require 'matplotlib/polar_axes' require 'matplotlib/figure' require 'matplotlib/spines' PyCall.sys.path.insert(0, File.expand_path('../matplotlib/python', __FILE__))
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
matplotlib-1.3.0 | lib/matplotlib.rb |
matplotlib-1.2.0 | lib/matplotlib.rb |
matplotlib-1.1.0 | lib/matplotlib.rb |
matplotlib-1.0.0 | lib/matplotlib.rb |