Skip to content

Commit c25ddc3

Browse files
committed
updated figure labels capitlisation
1 parent 03bafb7 commit c25ddc3

File tree

213 files changed

+19
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+19
-8
lines changed

dabest/misc_tools.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ def initialize_fig(
937937
raw_label = plot_kwargs["raw_label"]
938938
if raw_label is None:
939939
if proportional:
940-
raw_label = "Proportion of Success" if effect_size_type != "cohens_h" else "Value"
940+
raw_label = "Proportion of success" if effect_size_type != "cohens_h" else "Value"
941941
else:
942942
raw_label = yvar
943943

@@ -951,16 +951,16 @@ def initialize_fig(
951951

952952
# Set contrast axes y-label.
953953
contrast_label_dict = {
954-
"mean_diff": "Mean Difference",
955-
"median_diff": "Median Difference",
954+
"mean_diff": "Mean difference",
955+
"median_diff": "Median difference",
956956
"cohens_d": "Cohen's d",
957957
"hedges_g": "Hedges' g",
958958
"cliffs_delta": "Cliff's delta",
959959
"cohens_h": "Cohen's h",
960960
}
961961

962962
if proportional and effect_size_type != "cohens_h":
963-
default_contrast_label = "Proportion Difference"
963+
default_contrast_label = "Proportion difference"
964964
else:
965965
default_contrast_label = contrast_label_dict[effect_size_type]
966966

nbs/API/misc_tools.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@
990990
" raw_label = plot_kwargs[\"raw_label\"]\n",
991991
" if raw_label is None:\n",
992992
" if proportional:\n",
993-
" raw_label = \"Proportion of Success\" if effect_size_type != \"cohens_h\" else \"Value\"\n",
993+
" raw_label = \"Proportion of success\" if effect_size_type != \"cohens_h\" else \"Value\"\n",
994994
" else:\n",
995995
" raw_label = yvar \n",
996996
"\n",
@@ -1004,16 +1004,16 @@
10041004
"\n",
10051005
" # Set contrast axes y-label.\n",
10061006
" contrast_label_dict = {\n",
1007-
" \"mean_diff\": \"Mean Difference\",\n",
1008-
" \"median_diff\": \"Median Difference\",\n",
1007+
" \"mean_diff\": \"Mean difference\",\n",
1008+
" \"median_diff\": \"Median difference\",\n",
10091009
" \"cohens_d\": \"Cohen's d\",\n",
10101010
" \"hedges_g\": \"Hedges' g\",\n",
10111011
" \"cliffs_delta\": \"Cliff's delta\",\n",
10121012
" \"cohens_h\": \"Cohen's h\",\n",
10131013
" }\n",
10141014
"\n",
10151015
" if proportional and effect_size_type != \"cohens_h\":\n",
1016-
" default_contrast_label = \"Proportion Difference\"\n",
1016+
" default_contrast_label = \"Proportion difference\"\n",
10171017
" else:\n",
10181018
" default_contrast_label = contrast_label_dict[effect_size_type]\n",
10191019
"\n",
-277 Bytes
-119 Bytes
-328 Bytes
105 Bytes
29 Bytes
-88 Bytes
-38 Bytes
-3 Bytes

0 commit comments

Comments
 (0)