From fa69cad20b4e231fb1ef460e818da1b2f4a81830 Mon Sep 17 00:00:00 2001 From: Ginsakura Date: Sat, 9 Nov 2024 23:46:33 +0800 Subject: [PATCH] =?UTF-8?q?1.2.8pre7=20=20=E5=B0=9D=E8=AF=95=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=A6=82=E6=9E=9C4K=20=20PreRelease?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Difficulty_ScoreAnalyze.py | 8 ++++++-- Launcher.py | 4 ++-- README.md | 3 ++- changelog.md | 7 +++++-- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/Difficulty_ScoreAnalyze.py b/Difficulty_ScoreAnalyze.py index 7eb84cf..f43cda1 100644 --- a/Difficulty_ScoreAnalyze.py +++ b/Difficulty_ScoreAnalyze.py @@ -45,7 +45,11 @@ def Analyze(): axR.yaxis.set_major_locator(MultipleLocator(1)) ax.xaxis.set_major_locator(MultipleLocator(1)) ax.set_xlim(0,16) - minScore = int(min([min(score[0]),min(score[1])])) + if len(score[0]) == 0: + min0 = 125 + if len(score[1]) == 0: + min1 = 125 + minScore = int(min([min0,min1])) ax.set_ylim(minScore-1,125) axR.set_ylim(minScore-1,125) @@ -96,7 +100,7 @@ def Analyze(): ax.scatter(diff[0],score[0],alpha=0.7,color='#8A68D0',s=5) ax.scatter(diff[1],score[1],alpha=0.7,color='#F83535',s=5) - ax.text(18.2,123,"\n".join(labels),ha="left",va="top",alpha=1, + ax.text(18,123,"\n".join(labels),ha="left",va="top",alpha=1, fontdict={'family':'LXGW WenKai Mono','weight':'normal','size':10}) ax.legend(prop={'family':'LXGW WenKai Mono','weight':'normal','size':10},framealpha=0.4) #show label ax.set_xlabel('Difficulty') #x_label diff --git a/Launcher.py b/Launcher.py index e4cbec1..61e0cdf 100644 --- a/Launcher.py +++ b/Launcher.py @@ -14,8 +14,8 @@ version = '1.2.8rc2' isPreRelease = True -preVersion = "1.2.8pre6" -isPreRelease = False +preVersion = "1.2.8pre7" +# isPreRelease = False def launcher(): root = Tk() diff --git a/README.md b/README.md index 7ca5aef..7a08424 100644 --- a/README.md +++ b/README.md @@ -126,8 +126,9 @@ HitDelay模块用法:启用DLL注入后,在本次游戏进行首次谱面游玩 1. xxx 2. 修复 1. 修复能够获取版本号时出现Json解析错误的bug + 2. 尝试修复如果4K/6K模式没有一次游玩记录时`Difficulty_ScoreAnalyze`无法加载的bug 3. 优化 - 1. xxx + 1. 微调难度分布曲线中文本的位置 #### Release 2 2. 修复 1. ***修复新用户释放资源时,图标文件名称错误的bug*** diff --git a/changelog.md b/changelog.md index 7a43acc..447956a 100644 --- a/changelog.md +++ b/changelog.md @@ -12,9 +12,12 @@ 9. 1.2.7 环境更新:`matplotlib 3.7.2->3.9.2`,`numpy 1.25.2->2.0.1` ### Version 1.2.8 -#### PreRelease -1. 修复 +#### PreRelease +2. 修复 1. 修复能够获取版本号时出现Json解析错误的bug + 2. 尝试修复如果4K/6K模式没有一次游玩记录时`Difficulty_ScoreAnalyze`无法加载的bug +3. 优化 + 1. 微调难度分布曲线中文本的位置 #### Release 2 2. 修复 1. ***修复新用户释放资源时,图标文件名称错误的bug***