Not able to update the canvas of a gr plot within gtk windows
using Gtk using GR function update_canvas(widget) canvas = widget[:canvas] GR.clearws() GR.setviewport(canvas[:allocation][:width], canvas[:allocation][:height]) GR.setwindow(0, 1, 0, 1) GR.setspace(0, 0, 0, 0) GR.axes(0.1, 0.1, 0.9, 0.9, 0, 0, 1, 1, 0.01) GR.updatews() end function