"""Original local map atlas; Python 3.14, NumPy 2.3.5, Matplotlib 3.10.7. Writes paper-65-map-regions.png to CWD; preserves supplied MPLCONFIGDIR. """ import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt from matplotlib.colors import ListedColormap def main(): fig,ax=plt.subplots(figsize=(8,4.8),constrained_layout=True) aa=np.linspace(.001,1.4,1000);bb=np.linspace(.001,1,800);a,b=np.meshgrid(aa,bb) reg=np.zeros_like(a);reg[a>1]=1 reg[(a<1)&(a>1/3)&(b>1-a)]=2 reg[(a+b<1)&(b>(1-a)/2)&(b