fix(battlecard): correct font size to 9pt minimum and remove unused imports
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 47 KiB |
@@ -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",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user