文章詳情頁
python - xlsxwriter合并單元格和圖表格式
瀏覽:85日期: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
相關文章:
排行榜
