我尝试了几个迭代版本,根据错误消息提示,使用像素或英寸方法将ggplot保存到文件:无论哪种情况都不成功,生成的错误消息摘录如下:
/usr/local/lib/python2.7/dist-packages/ggplot/utils/ggutils.pyc in ggsave(filename, plot, device, format, path, scale, width, height, units
update project set type='project2' where id=2;COMMIT;Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update
detected while processing /home/XXXXXX/.vim/vimrc:E484: Can't open file /usr/share/vim/vim74/syntax/syntax.vim
不足为奇的是,Vim随后无法突出显示语法,并在编辑文本时抛出一系列其他错误。在自己做了一些研究之后,我可以看出syntax.vim实际上在/usr/local/