Ludvig commited on
Commit
0840d2b
·
1 Parent(s): ed3da92

Adds turquoise template

Browse files
template_resources/design_settings.turquoise_nc2_1.1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"palette": "Blues", "palette_use_custom": true, "palette_custom_low": "#B1F9E8", "palette_custom_high": "#239895", "width": 1100, "height": 1100, "dpi": 320, "show_counts": true, "show_normalized": true, "show_sums": false, "x_label": "True Class", "y_label": "Predicted Class", "title_label": "", "caption_label": "", "rotate_y_text": true, "place_x_axis_above": true, "counts_on_top": false, "num_digits": 2, "show_row_percentages": true, "show_col_percentages": true, "show_arrows": true, "diag_percentages_only": false, "arrow_size": 0.048, "arrow_nudge_from_text": 0.065, "intensity_by": "Counts", "darkness": 0.8, "set_intensity_lims": false, "intensity_min": 0.0, "intensity_max": 0.0, "intensity_beyond_lims": "truncate", "show_tile_border": false, "tile_border_color": "#000000", "tile_border_size": 0.1, "tile_border_linetype": "solid", "sum_tile_palette": "Greens", "sum_tile_palette_use_custom": true, "sum_tile_palette_custom_low": "#e9e1fc", "sum_tile_palette_custom_high": "#BE94E6", "sum_tile_label": "Total", "show_zero_shading": true, "show_zero_text": true, "show_zero_percentages": false, "font_top_color": "#000000", "font_top_bold": false, "font_top_italic": false, "font_top_size": 4.3, "font_top_alpha": 1.0, "font_bottom_color": "#000000", "font_bottom_bold": false, "font_bottom_italic": false, "font_bottom_size": 2.8, "font_bottom_alpha": 1.0, "font_percentage_color": "#000000", "font_percentage_bold": false, "font_percentage_italic": true, "font_percentage_size": 2.35, "font_percentage_alpha": 0.85, "font_percentage_prefix": "", "font_percentage_suffix": "%", "font_normalized_prefix": "", "font_normalized_suffix": "%", "font_counts_prefix": "", "font_counts_suffix": ""}
template_resources/design_settings.turquoise_nc2_sums_1.1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"palette": "Blues", "palette_use_custom": true, "palette_custom_low": "#B1F9E8", "palette_custom_high": "#239895", "width": 1300, "height": 1300, "dpi": 320, "show_counts": true, "show_normalized": true, "show_sums": true, "x_label": "True Class", "y_label": "Predicted Class", "title_label": "", "caption_label": "", "rotate_y_text": true, "place_x_axis_above": true, "counts_on_top": false, "num_digits": 2, "show_row_percentages": true, "show_col_percentages": true, "show_arrows": true, "diag_percentages_only": false, "arrow_size": 0.048, "arrow_nudge_from_text": 0.065, "intensity_by": "Counts", "darkness": 0.8, "set_intensity_lims": false, "intensity_min": 0.0, "intensity_max": 0.0, "intensity_beyond_lims": "truncate", "show_tile_border": false, "tile_border_color": "#000000", "tile_border_size": 0.1, "tile_border_linetype": "solid", "sum_tile_palette": "Greens", "sum_tile_palette_use_custom": true, "sum_tile_palette_custom_low": "#e9e1fc", "sum_tile_palette_custom_high": "#BE94E6", "sum_tile_label": "Total", "show_zero_shading": true, "show_zero_text": true, "show_zero_percentages": false, "font_top_color": "#000000", "font_top_bold": false, "font_top_italic": false, "font_top_size": 4.3, "font_top_alpha": 1.0, "font_bottom_color": "#000000", "font_bottom_bold": false, "font_bottom_italic": false, "font_bottom_size": 2.8, "font_bottom_alpha": 1.0, "font_percentage_color": "#000000", "font_percentage_bold": false, "font_percentage_italic": true, "font_percentage_size": 2.35, "font_percentage_alpha": 0.85, "font_percentage_prefix": "", "font_percentage_suffix": "%", "font_normalized_prefix": "", "font_normalized_suffix": "%", "font_counts_prefix": "", "font_counts_suffix": ""}
template_resources/design_settings.turquoise_nc3_1.1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"palette": "Blues", "palette_use_custom": true, "palette_custom_low": "#B1F9E8", "palette_custom_high": "#239895", "width": 1300, "height": 1300, "dpi": 320, "show_counts": true, "show_normalized": true, "show_sums": false, "x_label": "True Class", "y_label": "Predicted Class", "title_label": "", "caption_label": "", "rotate_y_text": true, "place_x_axis_above": true, "counts_on_top": false, "num_digits": 2, "show_row_percentages": true, "show_col_percentages": true, "show_arrows": true, "diag_percentages_only": false, "arrow_size": 0.048, "arrow_nudge_from_text": 0.065, "intensity_by": "Counts", "darkness": 0.8, "set_intensity_lims": false, "intensity_min": 0.0, "intensity_max": 0.0, "intensity_beyond_lims": "truncate", "show_tile_border": false, "tile_border_color": "#000000", "tile_border_size": 0.1, "tile_border_linetype": "solid", "sum_tile_palette": "Greens", "sum_tile_palette_use_custom": true, "sum_tile_palette_custom_low": "#e9e1fc", "sum_tile_palette_custom_high": "#BE94E6", "sum_tile_label": "Total", "show_zero_shading": true, "show_zero_text": true, "show_zero_percentages": false, "font_top_color": "#000000", "font_top_bold": false, "font_top_italic": false, "font_top_size": 4.3, "font_top_alpha": 1.0, "font_bottom_color": "#000000", "font_bottom_bold": false, "font_bottom_italic": false, "font_bottom_size": 2.8, "font_bottom_alpha": 1.0, "font_percentage_color": "#000000", "font_percentage_bold": false, "font_percentage_italic": true, "font_percentage_size": 2.35, "font_percentage_alpha": 0.85, "font_percentage_prefix": "", "font_percentage_suffix": "%", "font_normalized_prefix": "", "font_normalized_suffix": "%", "font_counts_prefix": "", "font_counts_suffix": ""}
template_resources/design_settings.turquoise_nc3_sums_1.1.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"palette": "Blues", "palette_use_custom": true, "palette_custom_low": "#B1F9E8", "palette_custom_high": "#239895", "width": 1425, "height": 1425, "dpi": 320, "show_counts": true, "show_normalized": true, "show_sums": true, "x_label": "True Class", "y_label": "Predicted Class", "title_label": "", "caption_label": "", "rotate_y_text": true, "place_x_axis_above": true, "counts_on_top": false, "num_digits": 2, "show_row_percentages": true, "show_col_percentages": true, "show_arrows": true, "diag_percentages_only": false, "arrow_size": 0.048, "arrow_nudge_from_text": 0.065, "intensity_by": "Counts", "darkness": 0.8, "set_intensity_lims": false, "intensity_min": 0.0, "intensity_max": 0.0, "intensity_beyond_lims": "truncate", "show_tile_border": false, "tile_border_color": "#000000", "tile_border_size": 0.1, "tile_border_linetype": "solid", "sum_tile_palette": "Greens", "sum_tile_palette_use_custom": true, "sum_tile_palette_custom_low": "#e9e1fc", "sum_tile_palette_custom_high": "#BE94E6", "sum_tile_label": "Total", "show_zero_shading": true, "show_zero_text": true, "show_zero_percentages": false, "font_top_color": "#000000", "font_top_bold": false, "font_top_italic": false, "font_top_size": 4.3, "font_top_alpha": 1.0, "font_bottom_color": "#000000", "font_bottom_bold": false, "font_bottom_italic": false, "font_bottom_size": 2.8, "font_bottom_alpha": 1.0, "font_percentage_color": "#000000", "font_percentage_bold": false, "font_percentage_italic": true, "font_percentage_size": 2.35, "font_percentage_alpha": 0.85, "font_percentage_prefix": "", "font_percentage_suffix": "%", "font_normalized_prefix": "", "font_normalized_suffix": "%", "font_counts_prefix": "", "font_counts_suffix": ""}
template_resources/turquoise_nc2_1.1.png ADDED
template_resources/turquoise_nc2_sums_1.1.png ADDED
template_resources/turquoise_nc3_1.1.png ADDED
template_resources/turquoise_nc3_sums_1.1.png ADDED
templates.py CHANGED
@@ -69,6 +69,41 @@ def get_templates():
69
  collection="Greys 1",
70
  )
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  return temps.get_templates()
73
 
74
 
 
69
  collection="Greys 1",
70
  )
71
 
72
+ # Turquoise
73
+ # Greys
74
+ temps.add(
75
+ name="Turquoises 2-Class",
76
+ num_classes=2,
77
+ sums=False,
78
+ settings_path="design_settings.turquoise_nc2_1.1.json",
79
+ image_path="turquoise_nc2_1.1.png",
80
+ collection="Turquoises 1",
81
+ )
82
+ temps.add(
83
+ name="Turquoises 3-Class",
84
+ num_classes=3,
85
+ sums=False,
86
+ settings_path="design_settings.turquoise_nc3_1.1.json",
87
+ image_path="turquoise_nc3_1.1.png",
88
+ collection="Turquoises 1",
89
+ )
90
+ temps.add(
91
+ name="Turquoises 2-Class w/ Sums",
92
+ num_classes=2,
93
+ sums=True,
94
+ settings_path="design_settings.turquoise_nc2_sums_1.1.json",
95
+ image_path="turquoise_nc2_sums_1.1.png",
96
+ collection="Turquoises 1",
97
+ )
98
+ temps.add(
99
+ name="Turquoises 3-Class w/ Sums",
100
+ num_classes=3,
101
+ sums=True,
102
+ settings_path="design_settings.turquoise_nc3_sums_1.1.json",
103
+ image_path="turquoise_nc3_sums_1.1.png",
104
+ collection="Turquoises 1",
105
+ )
106
+
107
  return temps.get_templates()
108
 
109