create_plotly_graph
Generate Plotly graphs from Python code or an intermediate file, then export them as PNG, SVG, or HTML using absolute paths.
Instructions
Plotlyを使ってグラフを作成し、指定された形式で出力します。Pythonコードまたは中間ファイルパスを受け取ります。ファイルの受け渡しは絶対パスを使用する。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output_path | Yes | 出力ファイルの絶対パス | |
| python_code | No | Plotlyグラフを生成するPythonコード。figオブジェクトを返す必要があります。 | |
| output_format | Yes | 出力形式(png, svg, html) | |
| input_filepath | No | Plotlyグラフを生成するPythonコードが書かれた中間ファイルのパス。figオブジェクトを返す必要があります。 |