文章详情页
python - xlsxwriter合并单元格和图表格式
浏览:105日期:2022-06-30 17:35:03
问题描述
1、怎么合并同一行的单元格,并且使文字居中
2、怎么设置折线图的背景颜色
问题解答
回答1:yellow=wbk.add_format({’border’:1,’align’:’center’,’bg_color’:’C0504D’,’font_size’:12,’font_color’:’white’})sheet.merge_range(0,0,0,10,data,yellow)
上一条:python这个错误怎么处理pymysql.err.ProgrammingError: (1064, ’ at line 1")下一条:python3.x - python处理javascript的json
相关文章:
排行榜
