V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
tracy1371
V2EX  ›  Python

Plotly 可以将生成的图片直接存入内存后插入一个 word 文档吗

  •  
  •   tracy1371 · 2018-06-21 09:49:23 +08:00 · 1896 次点击
    这是一个创建于 2126 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我在 python3.6 上用 plotly 生成了一组图片,我想把这组图片插入一个 word 的.docx 文档。但是目前我只能生成一个带图片的.html 文件,即使我在 offline.plot()里加上了下载图片的选项也只是在我打开这个生成的.html 文件才会弹出下载选项。有没有办法可以直接将生成的图片存在内存然后在下一步的代码里把它插入 word ?如果不行的话那有没有办法可以让我生成的图片可以自动下载,而不用我打开.html 时才会提示下载?
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3630 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 11:02 · PVG 19:02 · LAX 04:02 · JFK 07:02
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.