Method: Nyaplot::Plot3D#configure

Defined in:
lib/nyaplot3d/plot3d.rb

#configure(&block) ⇒ Object

Shortcut method to configure plot

Examples:

plot = Nyaplot::Plot3D.new
plot.configure do
  width(700)
  height(700)
end


74
75
76
# File 'lib/nyaplot3d/plot3d.rb', line 74

def configure(&block)
  self.instance_eval(&block) if block_given?
end