mirror of
https://github.com/wassname/moral-maps.git
synced 2026-09-24 13:41:05 +08:00
Match React WVS crosshairs to static map
Co-Authored-By: PI[gpt-5.6-terra] <288921227+claudypoo@users.noreply.github.com>
This commit is contained in:
co-authored by
PI[gpt-5.6-terra]
parent
7f6ec57c58
commit
f657321ea7
@@ -428,6 +428,7 @@ def main() -> None:
|
||||
"schema": 1,
|
||||
"axis": {"x": (["Self-expression", "Survival"] if sx < 0 else ["Survival", "Self-expression"]),
|
||||
"y": (["Secular-Rational", "Traditional"] if sy < 0 else ["Traditional", "Secular-Rational"])},
|
||||
"median": {"x": float(np.median(P[:, 0]) * sx), "y": float(np.median(P[:, 1]) * sy)},
|
||||
"countries": [{"name": name, "x": float(x * sx), "y": float(y * sy)}
|
||||
for name, (x, y) in zip(countries, P)],
|
||||
"zones": zones,
|
||||
|
||||
Reference in New Issue
Block a user