fix(battlecard): correct font size to 9pt minimum and remove unused imports

This commit is contained in:
Orchestrator
2026-06-05 14:24:27 -05:00
parent 15105d3faa
commit 89a07bbde9
2 changed files with 1 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

@@ -3,7 +3,6 @@ import argparse
import matplotlib
matplotlib.use("Agg")
import matplotlib.pyplot as plt
import matplotlib.patches as mpatches
from matplotlib.path import Path as MPLPath
# Python 3.14 matplotlib patch (required)
_orig = MPLPath.__deepcopy__
@@ -18,17 +17,14 @@ from pathlib import Path
from src.utils.styling import (
get_theme,
EXPORT_DPI,
BUBBLE_ZONE,
AI_SPEND,
REVENUE,
WARNING_ZONE,
NORMAL_ZONE,
GRAY_DARK,
GRAY_MEDIUM,
WHITE,
)
from src.utils.export import save_chart
MINI_FIGURE_SIZE = (5, 3)
MINI_DPI = 300
@@ -209,7 +205,7 @@ class MiniChartEngine:
-0.55,
context_text,
ha="center",
fontsize=MIN_LABEL_FONT_SIZE - 1,
fontsize=MIN_LABEL_FONT_SIZE,
color=GRAY_MEDIUM,
style="italic",
)