Spaces:
Sleeping
Sleeping
Update tools/statistical_graph_generator.py
Browse files
tools/statistical_graph_generator.py
CHANGED
|
@@ -59,7 +59,7 @@ def plot_bar_chart(labels: List[str], values: List[float], title: str = "Gráfic
|
|
| 59 |
plt.xticks(rotation=45, ha="right")
|
| 60 |
plt.grid(axis='y', linestyle='--', alpha=0.7)
|
| 61 |
plt.tight_layout()
|
| 62 |
-
if y_lim:
|
| 63 |
plt.ylim(y_lim)
|
| 64 |
file_path = f"bar_chart_{int(time.time_ns())}.png"
|
| 65 |
plt.savefig(file_path)
|
|
|
|
| 59 |
plt.xticks(rotation=45, ha="right")
|
| 60 |
plt.grid(axis='y', linestyle='--', alpha=0.7)
|
| 61 |
plt.tight_layout()
|
| 62 |
+
if y_lim:
|
| 63 |
plt.ylim(y_lim)
|
| 64 |
file_path = f"bar_chart_{int(time.time_ns())}.png"
|
| 65 |
plt.savefig(file_path)
|