From 7ebc0380a382a95087515270b318a84c618b402f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=A4=E7=8E=B2=E7=8E=B2?= <2509165008@student.example.com> Date: Sun, 5 Jul 2026 21:06:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20q4=5F3b/zhifang=5Ftime.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- q4_3b/zhifang_time.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/q4_3b/zhifang_time.py b/q4_3b/zhifang_time.py index d38f8e6..846d5cd 100644 --- a/q4_3b/zhifang_time.py +++ b/q4_3b/zhifang_time.py @@ -10,7 +10,7 @@ with open('movie.json', 'r', encoding='utf-8') as f: plt.figure(figsize=(12,8)) plt.hist( duration, # 数据 - bins=10, # 分成几个柱子 + bins=5, # 分成几个柱子 color='#3498DB', # 颜色 edgecolor='white') # 柱子边框颜色 plt.title('时长分布', fontsize=14)