Skip to content

Commit 9676b48

Browse files
committed
Make 3d_surface_plot behave like the other examples
It was missing lib directory in the load path
1 parent f02d0d0 commit 9676b48

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/3d_surface_plot.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
$LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))
12
require "gnuplot"
23

34
Gnuplot.open do |gp|
@@ -11,4 +12,4 @@
1112
]
1213
end
1314
sleep 10
14-
end
15+
end

0 commit comments

Comments
 (0)