From f8899cfedd68b75811771d3d38a2a5467c40673f Mon Sep 17 00:00:00 2001 From: Benjamin Bertrand Date: Tue, 22 Nov 2016 14:39:17 +0300 Subject: [PATCH] radar plot --- notes_tools/tools/plottings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes_tools/tools/plottings.py b/notes_tools/tools/plottings.py index 57645b5..c9c9e45 100644 --- a/notes_tools/tools/plottings.py +++ b/notes_tools/tools/plottings.py @@ -61,7 +61,7 @@ def radar_graph(labels = [], values = [], optimum = []): N = len(labels) theta = _radar_factory(N) max_val = max(max(optimum), max(values)) - fig = plt.figure() + fig = plt.figure(figsize=(3,3)) ax = fig.add_subplot(1, 1, 1, projection='radar') ax.plot(theta, values, color='k') ax.plot(theta, optimum, color='r')