Spaces:
Sleeping
Sleeping
Update tools/statistical_graph_generator.py
Browse files
tools/statistical_graph_generator.py
CHANGED
|
@@ -2,7 +2,7 @@ import numpy as np
|
|
| 2 |
import matplotlib.pyplot as plt
|
| 3 |
from smolagents.tools import tool
|
| 4 |
import time
|
| 5 |
-
from typing import List, Dict
|
| 6 |
|
| 7 |
@tool
|
| 8 |
def plot_line_chart(x_values: List, y_values: List[float], title: str = "Gráfico de Linhas", x_label: str = "Eixo X", y_label: str = "Eixo Y") -> str:
|
|
|
|
| 2 |
import matplotlib.pyplot as plt
|
| 3 |
from smolagents.tools import tool
|
| 4 |
import time
|
| 5 |
+
from typing import Optional, List, Dict
|
| 6 |
|
| 7 |
@tool
|
| 8 |
def plot_line_chart(x_values: List, y_values: List[float], title: str = "Gráfico de Linhas", x_label: str = "Eixo X", y_label: str = "Eixo Y") -> str:
|