Skip to content

Dev#14

Merged
RicardoRyn merged 9 commits into
mainfrom
dev
Aug 7, 2025
Merged

Dev#14
RicardoRyn merged 9 commits into
mainfrom
dev

Conversation

@RicardoRyn
Copy link
Copy Markdown
Owner

No description provided.

…recation

Passing `test_method="ttest_ind"` is now discouraged and will be deprecated in a future release.
Users should use `test_method=["ttest_ind"]` instead.
Refactored the parameter validation logic in the `statistics` function.
Added `warnings.simplefilter('always')` to ensure deprecation warnings are always shown.

refactor(bar): 将 `test_method` 的字符串输入标记为即将弃用

现在不建议传递 `test_method="ttest_ind"`,并将在未来的版本中弃用。
用户应改用 `test_method=["ttest_ind"]`。
重构了 `statistics` 函数中的参数验证逻辑。
添加了 `warnings.simplefilter('always')` 以确保始终显示弃用警告。
Users can now apply up to two statistical tests simultaneously, with one required to be `ttest_1samp`.
For example: `test_method=["ttest_1samp", "ttest_ind"]`.
If two methods are used, the asterisks from `ttest_1samp` will be shown in blue,
while the color of the second method's asterisks can be customized via `asterisk_color`.

feat(bar):支持组合多种统计测试方法

用户现在可以同时应用最多两种统计测试方法,其中一种必须是`ttest_1samp`。
例如:`test_method=["ttest_1samp", "ttest_ind"]`。
如果使用两种方法,`ttest_1samp`的星号将显示为蓝色,而第二种方法的星号颜色可以通过`asterisk_color`自定义。
Replaced the original 'Click the changelog for details' with 'Click to view details'.

docs(web): 更改公告栏中的默认语句

将原来的“点击更新日志查看详情”替换为“点击查看详情”。
… colors

`line_color` allows users to specify custom colors for the connection lines.
- The restriction: Requires all values in the connection matrix to be
  non-negative.

feat(连接): 添加 `line_color` 参数以自定义连接线颜色

`line_color` 允许用户为连接线指定自定义颜色。
- 限制条件: 要求连接矩阵中的所有值均为非负数。
The Markdown document for the `plotfig` webpage homepage is sourced from the GitHub `README.md` file.
It previously contained a link that redirected to the homepage itself.
Since the link pointed to itself, it was deemed unnecessary and has been removed.

docs(web): 删除网页主页中对该网页的跳转

`plotfig`网页主页的Markdown文档来源于Github `README.md`文件。
其中包含一条连接用来跳转到网页主页。
这条连接之前存在网页主页当中并指向自己。
因为指向自己,没有存在的必要,所以删除。
Previously, there was no guidance on how to pass parameters for different atlases of different species.
Now, detailed information has been added to the function documentation.

docs(surface): 在函数注释文档中补充可用atlas名字

之前没有提示如何给不同物种的不同图集传参。
现在在函数注释文档中补充详细信息。
The `ipykernel` package is required for development.
It has been installed using `uv add --dev ipykernel`.

build(depv): 增加ipykernel依赖

开发过程中需要安装`ipykernel`包。
通过`uv add --dev ipykernel`安装该依赖。
In the 'Brain Region Map (Legacy Version)', an image of the human brain surface was missing.
It has now been added.

Modified some descriptions in `README.md` and webpage documentation.
Clarified that Issues and PRs are welcome.

docs(web): 更改网页上部分表述以及欢迎贡献

在“脑区图(旧版)”当中,少了一张人类大脑surface的图。
现已添加。

在`README.md`以及网页文档中修改部分表述。
说明愿意接受Issue以及PR。
Using the Prettier plugin in VSCode, the code has been formatted.
Removed extra spaces and changed single quotes to double quotes.

style(yml): 格式化代码。

通过vscode上的Prettier插件,对代码进行格式化。
删除多余空格,单引号改成双引号。
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Aug 7, 2025

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Comment thread .github/workflows/release.yml
@RicardoRyn RicardoRyn merged commit 9b0c805 into main Aug 7, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant