I added the gtk backend to matplotlib; if these added dependencies are too much, we can make this optional.