michal commited on
Commit
bee8d8c
·
1 Parent(s): 46cef84
src/structures/mat.py CHANGED
@@ -38,5 +38,5 @@ def load_json_data(file_path):
38
  file_path = str(abs_path / "leaderboards/all_types_years.json")
39
  MAT_SCORES = load_json_data(file_path)
40
  MAT_SCORES = MAT_SCORES.style.highlight_max(
41
- color = '#ff7070',
42
  subset=MAT_SCORES.columns[-22:]).format(precision=2)
 
38
  file_path = str(abs_path / "leaderboards/all_types_years.json")
39
  MAT_SCORES = load_json_data(file_path)
40
  MAT_SCORES = MAT_SCORES.style.highlight_max(
41
+ color = '#E52713',
42
  subset=MAT_SCORES.columns[-22:]).format(precision=2)
src/structures/osm.py CHANGED
@@ -38,5 +38,5 @@ def load_json_data(file_path):
38
  file_path = str(abs_path / "leaderboards/all_types_years.json")
39
  OSM_SCORES = load_json_data(file_path)
40
  OSM_SCORES = OSM_SCORES.style.highlight_max(
41
- color = '#ff7070',
42
  subset=OSM_SCORES.columns[-5:]).format(precision=2)
 
38
  file_path = str(abs_path / "leaderboards/all_types_years.json")
39
  OSM_SCORES = load_json_data(file_path)
40
  OSM_SCORES = OSM_SCORES.style.highlight_max(
41
+ color = '#E52713',
42
  subset=OSM_SCORES.columns[-5:]).format(precision=2)
src/structures/zaw.py CHANGED
@@ -38,5 +38,5 @@ def load_json_data(file_path):
38
  file_path = str(abs_path / "leaderboards/all_types_years.json")
39
  ZAW_SCORES = load_json_data(file_path)
40
  ZAW_SCORES = ZAW_SCORES.style.highlight_max(
41
- color = '#ff7070',
42
  subset=ZAW_SCORES.columns[-12:]).format(precision=2)
 
38
  file_path = str(abs_path / "leaderboards/all_types_years.json")
39
  ZAW_SCORES = load_json_data(file_path)
40
  ZAW_SCORES = ZAW_SCORES.style.highlight_max(
41
+ color = '#E52713',
42
  subset=ZAW_SCORES.columns[-12:]).format(precision=2)
src/styles.py CHANGED
@@ -112,6 +112,7 @@ polygon_svg = """
112
  <svg width="400px" height="190px" viewBox="0 0 243.6 180.2" xmlns="http://www.w3.org/2000/svg" xml:space="preserve">
113
  <style type="text/css">
114
  .st0{fill:#E52713;} /* Sets the fill color to red */
 
115
  </style>
116
  <g>
117
  <polygon class="st0" points="147.4,97.1 147.4,107.5 137,107.5 137,103.1 126.1,103.1 126.1,104.7 121.3,104.7 121.3,103.1
@@ -133,7 +134,7 @@ polygon_svg = """
133
  85.1,26.6 74.7,26.6 74.7,16.2 85.1,16.2 85.1,20.6 97.7,20.6 97.7,19 102.5,19 102.5,20.6 115.2,20.6 115.2,16.2"></polygon>
134
  <rect x="128" y="116.8" class="st0" width="10.4" height="10.4"></rect>
135
  </g>
136
- <g>
137
  <path d="M196.7,34.3c0-6,4.6-10.9,11-10.9c3.9,0,7.3,2,9.1,5.2l-1.9,1.1c-1.3-2.5-4.1-4.2-7.2-4.2c-5.3,0-8.9,3.9-8.9,8.8
138
  c0,4.9,3.6,8.8,8.9,8.8c3.1,0,5.9-1.7,7.2-4.2l1.9,1c-1.7,3.1-5.2,5.2-9.1,5.2C201.3,45.1,196.7,40.3,196.7,34.3z"></path>
139
  <path d="M235.3,42.8v2H223v-21h12.2v2h-10v7.4h9.3v2h-9.3v7.6H235.3z"></path>
 
112
  <svg width="400px" height="190px" viewBox="0 0 243.6 180.2" xmlns="http://www.w3.org/2000/svg" xml:space="preserve">
113
  <style type="text/css">
114
  .st0{fill:#E52713;} /* Sets the fill color to red */
115
+ .st1 { fill: #0000FF; } /* Sets the fill color to blue */
116
  </style>
117
  <g>
118
  <polygon class="st0" points="147.4,97.1 147.4,107.5 137,107.5 137,103.1 126.1,103.1 126.1,104.7 121.3,104.7 121.3,103.1
 
134
  85.1,26.6 74.7,26.6 74.7,16.2 85.1,16.2 85.1,20.6 97.7,20.6 97.7,19 102.5,19 102.5,20.6 115.2,20.6 115.2,16.2"></polygon>
135
  <rect x="128" y="116.8" class="st0" width="10.4" height="10.4"></rect>
136
  </g>
137
+ <g class="st1">
138
  <path d="M196.7,34.3c0-6,4.6-10.9,11-10.9c3.9,0,7.3,2,9.1,5.2l-1.9,1.1c-1.3-2.5-4.1-4.2-7.2-4.2c-5.3,0-8.9,3.9-8.9,8.8
139
  c0,4.9,3.6,8.8,8.9,8.8c3.1,0,5.9-1.7,7.2-4.2l1.9,1c-1.7,3.1-5.2,5.2-9.1,5.2C201.3,45.1,196.7,40.3,196.7,34.3z"></path>
140
  <path d="M235.3,42.8v2H223v-21h12.2v2h-10v7.4h9.3v2h-9.3v7.6H235.3z"></path>