matplotlib backend for remote plot display (alternative for gtk/x11) OS X El Capitan with homebrew

怎甘沉沦 提交于 2019-12-11 00:33:13

问题


Lost enough time on this one today to justify a post...

I previously relied on GTKAgg matplotlib backend for remote display and interactive plotting from the ipython command line on a remote server. This approach is similar to the one described here:

https://stackoverflow.com/a/3453527/1665400

This week I upgraded to El Capitan (10.10.5), and a fresh homebrew install. Everything is working correctly, but I recently learned that the homebrew project dropped x11 support for gtk, and is generally moving toward dropping x11 support entirely. My github issue is here:

https://github.com/Homebrew/homebrew-python/issues/313

I've tried several other backends, and they all seem to be working correctly within the homebrew Python framework, but none have x11 support. Maybe I'm missing an obvious option.

I can potentially build my own gtk against x11, but I am very happy with the rest of the homebrew/pip package management, and know that this will add complication in the future. Nothing is available in the homebrew-versions tap.

Hoping there is a better option than screen sharing over vnc or restoring a backup.

Thanks for any advice.

来源:https://stackoverflow.com/questions/38278186/matplotlib-backend-for-remote-plot-display-alternative-for-gtk-x11-os-x-el-cap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!