From 8eee64f9941f3039e68895dc0e55b89607ec2309 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Y=C4=B1lmaz=20Alpaslan?= Date: Sun, 9 Jan 2022 12:42:15 +0300 Subject: [PATCH] Version 0.3.0 update --- perspective/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perspective/utils.py b/perspective/utils.py index bc3f5d6..8a9a3bd 100644 --- a/perspective/utils.py +++ b/perspective/utils.py @@ -252,7 +252,7 @@ def save_graph(response: dict, filename: str = "chart.png", title: Optional[str] plt.xticks([0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100]) - if grid_lines: + if grid_lines == True: plt.grid(b = True, color ='grey', linestyle ='-', linewidth = 0.5, alpha = 0.2) plt.savefig(filename, bbox_inches='tight') \ No newline at end of file