Weaken assertion failure to a warning

Some people have trouble getting Tk/Gtk running but still want to be able to create plots programatically.
Merge pull request #153 from loladiro/patch-1

Weaken assertion failure to a warning