PythonでAPIドキュメントのコードをテストする初心者,エラーが発生し,助けを求めます.
import matplotlib.pyplot as plt
import json
def main():
plt.plot([3,6,2,4,7,1])
LogStatus(plt)
table = {type: ‘table’, title: ‘倉庫情報’, cols: 固定リンク[[ 列1 列2 ][ [‘abc’, ‘def’], [‘ABC’, ‘support color #ff0000’]]}
LogStatus(’' + JSON.stringify(table)+'# JSON シリアル化後に両側に加える字符, 视为一个复杂消息格式(当前支持表格) LogStatus('第一行消息\n’ + JSON.stringify(table)+’\n第三行消息') # 表格信息也可以在多行中出现 LogStatus('’ + JSON.stringify([table, table])+‘`’) # は,複数の表を同時に表示し,TABでグループに表示します.