在Python中覆盖现有excel文件时,图形丢失 [英] Graphs lost while overwriting to existing excel file in Python

查看:1385
本文介绍了在Python中覆盖现有excel文件时,图形丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用openpyxl写入一个现有的文件,一切正常。但数据保存在文件中后,图形消失。



我知道Openpyxl目前只支持工作表中的图表创建。现有工作簿中的图表将会丢失。



Python中是否有任何替代库来实现这一点。我只是想提供几个值,所以所有的图形和计算都发生在excel中。



谢谢。

解决方案

目前(版本2.2)是不可能的。


I'm using openpyxl to write to an existing file and everything works fine. However after the data is saved on the file, graphs disappear.

I understand Openpyxl currently only supports chart creation within a worksheet only. Charts in existing workbooks will be lost.

Are there any alternate libraries in Python to achieve this. I just want to feed a few values, so all the graphs and calculation happen in excel.

Thank you.

解决方案

This is currently (version 2.2) not possible.

这篇关于在Python中覆盖现有excel文件时,图形丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆