ruby-numo / numo-gnuplot

Gnuplot wrapper for Ruby/Numo
BSD 3-Clause "New" or "Revised" License
51 stars 8 forks source link

Fix not display on IRuby notebook #10

Closed icm7216 closed 7 years ago

icm7216 commented 7 years ago

Fixed an issue where NoMethodError was occurred when using v0.2.1 on jupyter notebook.

icm7216 commented 7 years ago

v0.2.1 を jupyter notebook で使用時に NoMethodError が出力される問題を修正しました。

NoMethodError: undefined method `path' for :tempfile_svg:Symbol
C:/Ruby231/lib/ruby/gems/2.3.0/gems/numo-gnuplot-0.2.1/lib/numo/gnuplot.rb:45:in `to_iruby'
 ....

使用環境

Windows 10 ruby 2.3.1p112 (2016-04-26 revision 54768) [i386-mingw32] iruby (0.2.9) numo-gnuplot (0.2.1) gnuplot Version 5.0 patchlevel 3 last modified 2016-02-21