正如标题所述,我有一个 docker 容器,使用 ubuntu 16.04 基础映像,安装了 matplotlib 和各种依赖项。
我知道我可以使用 jupyter notebook 或其他东西将绘图写入文件或其他东西,但是我特别希望能够放入容器内的 python shell 并从那里调用 plt.plot() 。
我已经阅读了有关设置显示变量等的内容,但到目前为止还没有多少运气。
任何帮助,将不胜感激。
matplotlib docker
docker ×1
matplotlib ×1