From 0e68cdde3da0e469b06e3e83f8eca0495d38de2b Mon Sep 17 00:00:00 2001
From: "zhaojie01@wealthgrow.cn" <zhaojie01@wealthgrow.cn>
Date: Thu, 14 Jan 2021 19:54:49 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AD=97=E4=BD=93=EF=BC=8C=E9=A2=9C=E8=89=B2?=
 =?UTF-8?q?=E5=87=8F=E5=B0=91=E5=89=8D=E4=B8=A4=E4=B8=AA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/utils/draw.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/utils/draw.py b/app/utils/draw.py
index 424729a..8e0af88 100644
--- a/app/utils/draw.py
+++ b/app/utils/draw.py
@@ -21,7 +21,7 @@ from matplotlib.font_manager import FontProperties
 
 matplotlib.use('Agg')
 # 中文字体初始化
-plt.rcParams['font.sans-serif']=['Heiti TC']
+plt.rcParams['font.sans-serif']=['SimSun']
 
 
 def to_percent(temp, position):
@@ -113,7 +113,7 @@ def draw_contribution_chart(xlabels, product_list, cumulative):
     max_x_count = max([x['data'].size for x in product_list])
     loc = np.arange(max_x_count)  # the x locations for the groups
     width = 0.35  # the width of the bars: can also be len(x) sequence
-    color_list = ['#333333', '#928C8C', '#AFAFAF', '#D56666', '#DE7A7A',
+    color_list = ['#AFAFAF', '#D56666', '#DE7A7A',
                   '#ED9494', '#F4A9A9', '#FFC8C8', '#DEA27A', '#EFAF85',
                   '#FBBF98', '#FFD2B5', '#E1C277', '#EBCD85', '#FEDF96']
 
-- 
2.18.1