From dcbc9c4e964e6b0459a587a0bbbaf8d9dda072bb Mon Sep 17 00:00:00 2001 From: SonienTaegi Date: Tue, 20 Sep 2016 11:07:59 +0900 Subject: [PATCH] mkf_internal.py : Fix duplicated parameter plt.scatter(...) plt.scatter(...) can accept either 'c' or 'color' parameter but not both. This makes assert exception. --- code/mkf_internal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/mkf_internal.py b/code/mkf_internal.py index 49c82d7..9f0c02c 100644 --- a/code/mkf_internal.py +++ b/code/mkf_internal.py @@ -148,7 +148,7 @@ def show_position_prediction_chart(): plt.xticks(np.arange(1,5,1)) plt.yticks(np.arange(1,5,1)) - plt.scatter ([4], [4], c='g',s=128, color='#8EBA42') + plt.scatter ([4], [4], s=128, color='#8EBA42') ax = plt.axes() ax.annotate('', xy=(4,4), xytext=(3,3), arrowprops=dict(arrowstyle='->',