Error in orange
parent
cbae1473ac
commit
ba95a27039
|
|
@ -230,7 +230,8 @@ def render_score_text(label, score, error, width_px, fontsize=18,
|
|||
score_str = f"{label} ; Note : \\color{{{hex_color}}}{{{score}}}"
|
||||
|
||||
if error and error != "null":
|
||||
score_str += f" | Error: {error}"
|
||||
# Uses standard Matplotlib color name 'orange'
|
||||
score_str += f" | \\color{{orange}}{{Error: {error}}}"
|
||||
|
||||
# 3. Wrap Text (using your existing heuristic)
|
||||
dpi = 100
|
||||
|
|
|
|||
Loading…
Reference in New Issue