diff --git a/paper/pnas/figs/fig1a.pdf b/paper/pnas/figs/fig1a.pdf index 43f78b3..62bb607 100644 Binary files a/paper/pnas/figs/fig1a.pdf and b/paper/pnas/figs/fig1a.pdf differ diff --git a/paper/pnas/main.pdf b/paper/pnas/main.pdf index ff03958..3fe471f 100644 Binary files a/paper/pnas/main.pdf and b/paper/pnas/main.pdf differ diff --git a/paper/pnas/make_figs.py b/paper/pnas/make_figs.py index 8d3d143..b7ec232 100644 --- a/paper/pnas/make_figs.py +++ b/paper/pnas/make_figs.py @@ -125,20 +125,20 @@ def fig1a(): for j2, (name, arch, guarantee, edge, face, headfill, textcol, icon) in enumerate(TIERS): x = xs[j2] xc = x + cw / 2 - 0.02 # text centred left of the icon slot - ax.add_patch(FancyBboxPatch((x + gap, 0.825), cw - 2 * gap, 0.155, + ax.add_patch(FancyBboxPatch((x + gap, 0.825), cw - 2 * gap, 0.170, boxstyle="round,pad=0.004", fc=headfill, ec=edge, lw=1.6)) - ax.text(xc, 0.966, name, ha="center", va="top", fontsize=9.5, + ax.text(xc, 0.988, name, ha="center", va="top", fontsize=9.5, fontweight="bold", color=textcol) - ax.text(x + cw / 2 - 0.026, 0.922, arch, ha="center", va="top", fontsize=6.6, + ax.text(x + cw / 2 - 0.030, 0.938, arch, ha="center", va="top", fontsize=6.6, linespacing=1.3, color=textcol) - ax.text(xc, 0.833, guarantee, ha="center", va="bottom", fontsize=6.4, + ax.text(x + cw / 2 - 0.030, 0.831, guarantee, ha="center", va="bottom", fontsize=6.4, style="italic", color=textcol, alpha=0.85) # Reason: imshow + interpolation="none" embeds the icon unsampled in the PDF (an # OffsetImage is always composited at figure dpi, i.e. ~39 px, whatever the source). img = _icon(icon) - iw = 28.0 / 1140.0 # 28 display px on an 11.4in/100dpi fig + iw = 56.0 / 1140.0 # 56 display px on an 11.4in/100dpi fig ih = iw * 11.4 / 5.3 - icx, icy = x + cw - gap - 0.024, 0.902 + icx, icy = x + cw - gap - 0.030, 0.906 ax.imshow(img, extent=(icx - iw / 2, icx + iw / 2, icy - ih / 2, icy + ih / 2), interpolation="none", aspect="auto", zorder=5) ax.set_xlim(0, 1)