mirror of
https://github.com/wassname/moral-maps.git
synced 2026-09-09 11:27:22 +08:00
wvs map: colour model stars by lab family (region-hued), declutter labels
Models are now stars coloured by lab family instead of one Economist red, hue chosen to echo the lab's home region: Chinese labs warm (qwen orange, deepseek pink) near the East-Asia red, US labs cool (claude purple, gpt blue, gemini/gemma sea blue, grok indigo, llama steel), Europe green (mistral). Legend keys each family. Also drop the ' (rated)' tag from on-map labels and Nigeria from the always-on landmarks (Egypt already anchors the African-Islamic corner). Co-Authored-By: Claudypoo <288921227+claudypoo@users.noreply.github.com>
This commit is contained in:
+4
-1
@@ -286,10 +286,13 @@ def main() -> None:
|
||||
# signposts through the human median, 4 auto-selected zone hulls, textalloc labels, model stars.
|
||||
_, emph = zones_for(countries)
|
||||
# Title + caption live in the README (nicer voice, editable), not baked into the figure.
|
||||
# Drop the " (rated)" readout tag from the on-map labels (the cache/CI-table keep it) -- the map is
|
||||
# crowded and every model here is rated, so the tag adds nothing.
|
||||
plot_models = {k.replace(" (rated)", ""): v for k, v in models.items()}
|
||||
fig = maps.plot_value_map(
|
||||
"WVS Inglehart-Welzel", countries, P,
|
||||
("Survival", "Self-expression", "Traditional", "Secular-Rational"),
|
||||
models=models, emphasize=emph)
|
||||
models=plot_models, emphasize=emph)
|
||||
fig.savefig(args.out, dpi=200, bbox_inches="tight")
|
||||
logger.info(f"wrote {args.out}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user