Deployed 6a66208 with MkDocs version: 1.6.1
This commit is contained in:
parent
3cd3e9ea81
commit
635f59cb32
20 changed files with 917 additions and 89 deletions
|
|
@ -4,26 +4,24 @@ import matplotlib.pyplot as plt
|
|||
# Shared Color Palette (Colorblind friendly, high contrast)
|
||||
# Matches poster design
|
||||
COLORS = {
|
||||
"CENTRALIZED": "#2B4162", # Deep Slate Blue
|
||||
"FULLY_CONNECTED": "#FA9F42", # Vibrant Orange
|
||||
"RING_LEVEL": "#4E937A", # Muted Teal
|
||||
"SEGMENT_LEVEL": "#B4436C", # Soft Red
|
||||
"DECENTRALIZED": "#4E937A", # Default decentralized fallback
|
||||
"CENTRALIZED": "#0D567C", # Blue
|
||||
"FULLY_CONNECTED": "#8C0E0F", # Reddish
|
||||
"RING": "#FCB305", # Pale Yellow
|
||||
}
|
||||
|
||||
|
||||
def apply_style(font_size=28):
|
||||
def apply_style(font_size=36):
|
||||
"""
|
||||
Applies the shared typography and aesthetic settings to Matplotlib.
|
||||
"""
|
||||
plt.rcParams.update(
|
||||
{
|
||||
"font.size": font_size,
|
||||
"axes.labelsize": font_size + 4,
|
||||
"axes.titlesize": font_size + 8,
|
||||
"xtick.labelsize": font_size - 4,
|
||||
"ytick.labelsize": font_size - 4,
|
||||
"legend.fontsize": font_size - 6,
|
||||
"axes.labelsize": font_size,
|
||||
"axes.titlesize": font_size,
|
||||
"xtick.labelsize": font_size,
|
||||
"ytick.labelsize": font_size,
|
||||
"legend.fontsize": font_size,
|
||||
"axes.linewidth": 2,
|
||||
"axes.spines.top": False,
|
||||
"axes.spines.right": False,
|
||||
|
|
@ -44,7 +42,7 @@ BEST_PERFORMER_COLOR = "#D4AF37" # Gold
|
|||
# Centralized Legend Configuration
|
||||
LEGEND_KWARGS = {
|
||||
"loc": "upper center",
|
||||
"bbox_to_anchor": (0.5, -0.5),
|
||||
"bbox_to_anchor": (0.5, -0.12),
|
||||
"frameon": False,
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue