Home
Sign Up
Sign In
推荐学习书目
›
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
V2EX
›
Python
Plotly 可以将生成的图片直接存入内存后插入一个 word 文档吗
tracy1371
·
Jun 21, 2018
· 2328 views
This topic created in 2975 days ago, the information mentioned may be changed or developed.
我在 python3.6 上用 plotly 生成了一组图片,我想把这组图片插入一个 word 的.docx 文档。但是目前我只能生成一个带图片的.html 文件,即使我在 offline.plot()里加上了下载图片的选项也只是在我打开这个生成的.html 文件才会弹出下载选项。有没有办法可以直接将生成的图片存在内存然后在下一步的代码里把它插入 word ?如果不行的话那有没有办法可以让我生成的图片可以自动下载,而不用我打开.html 时才会提示下载?
No Comments Yet
生成
图片
HTML
word
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
5916 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms ·
UTC 03:01
·
PVG 11:01
·
LAX 20:01
·
JFK 23:01
♥ Do have faith in what you're doing.
❯