[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73HT3D61Z6119DG9WKSAWS0":3,"skill-same:01M73HT3D61Z6119DG9WKSAWS0":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":33,"ownerHtmlUrl":34,"ownerBlogUrl":35,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M73HT3D61Z6119DG9WKSAWS0","pnas-figure-guide",null,"PNAS figure preparation: resolution (300-1000 PPI), formats (TIFF\u002FEPS\u002FPDF), strict RGB-only color, Arial\u002FHelvetica fonts, italicized uppercase panel labels, automated image screening.","bg-szy\u002FTOP-SKILLS","bg-szy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106576190?v=4","01M73A4E8KPV67SFXRY8XZGNBX","ShuZhiyong","01M73A4E96MQ294MHM74TZBVQD",6,"CC-BY-4.0","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fawesome-skills\u002Fpnas-figure-guide\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: pnas-figure-guide\ndescription: \"PNAS figure preparation: resolution (300-1000 PPI), formats (TIFF\u002FEPS\u002FPDF), strict RGB-only color, Arial\u002FHelvetica fonts, italicized uppercase panel labels, automated image screening.\"\nlicense: CC-BY-4.0\ncompatibility: Python 3.10+, Pillow, Matplotlib\nmetadata:\n  authors: HITS\n  version: \"1.0\"\n---\n\n# PNAS Figure Preparation Guide\n\n## Overview\n\nThis guide provides the complete specifications for preparing figures for submission to **PNAS** (Proceedings of the National Academy of Sciences). PNAS is notable for its **strict RGB-only policy** (CMYK submissions are returned), **italicized uppercase panel labels**, and **automated image screening software**.\n\n**Official reference**: https:\u002F\u002Fwww.pnas.org\u002Fauthor-center\u002Fsubmitting-your-manuscript\n\n---\n\n## Resolution Requirements\n\n| Image Type | Minimum Resolution | Notes |\n|---|---|---|\n| Halftones (color\u002Fgrayscale photos) | **300 PPI** | At publication size |\n| Combination artwork (MS Office) | **600-900 DPI** | Mixed text and images |\n| Line art (bitmap text\u002Fthin lines) | **1,000 PPI** | At publication size |\n| LaTeX figures | — | High-quality PDF or EPS |\n\n```python\nfrom PIL import Image\n\ndef check_pnas_resolution(image_path, image_type='halftone'):\n    \"\"\"Check if image meets PNAS resolution requirements.\n\n    Args:\n        image_type: 'halftone' (300), 'combination' (600), or 'lineart' (1000)\n    \"\"\"\n    min_ppi = {'halftone': 300, 'combination': 600, 'lineart': 1000}\n    required = min_ppi.get(image_type, 300)\n\n    img = Image.open(image_path)\n    dpi = img.info.get('dpi', (72, 72))\n\n    print(f\"Type: {image_type} | Required: {required} PPI | Actual: {dpi[0]} PPI\")\n\n    if dpi[0] >= required:\n        print(\"PASS\")\n    else:\n        print(f\"FAIL: Need {required} PPI minimum\")\n\n    return dpi[0] >= required\n```\n\n---\n\n## File Format\n\n| Format | Accepted |\n|---|---|\n| **TIFF** | Yes (preferred for raster) |\n| **EPS** | Yes (fonts must be embedded) |\n| **PDF** | Yes (fonts must be embedded) |\n| **PPT** | Yes |\n| **3D images** | PRC or U3D with 2D representation (TIFF\u002FEPS\u002FPDF) |\n\n### Submission Stages\n- **Initial submission**: Format-neutral — single PDF containing full manuscript, figures, and SI. High-resolution files not required.\n- **Production phase**: Separate high-resolution figure uploads required.\n\n---\n\n## Figure Size and Dimensions\n\n**IMPORTANT**: Provide images at **final publication size**, not full-page size.\n\n| Layout | Width |\n|---|---|\n| 1 column | **8.7 cm** (3.43 in) |\n| 1.5 columns | **11.4 cm** (4.5 in \u002F 27 picas) |\n| 2 columns | **17.8 cm** (7.0 in \u002F 42.125 picas) |\n| Maximum height | **22.5 cm** (9 in \u002F 54 picas) |\n\n```python\nimport matplotlib.pyplot as plt\n\nPNAS_WIDTHS = {\n    'single':  8.7 \u002F 2.54,   # 3.43 inches\n    'middle':  11.4 \u002F 2.54,  # 4.49 inches\n    'double':  17.8 \u002F 2.54,  # 7.01 inches\n}\nPNAS_MAX_HEIGHT = 22.5 \u002F 2.54  # 8.86 inches\n\ndef create_pnas_figure(layout='single', aspect_ratio=0.75):\n    \"\"\"Create a Matplotlib figure sized for PNAS.\"\"\"\n    width = PNAS_WIDTHS[layout]\n    height = min(width * aspect_ratio, PNAS_MAX_HEIGHT)\n\n    fig, ax = plt.subplots(figsize=(width, height))\n    fig.set_dpi(300)\n    return fig, ax\n```\n\n---\n\n## Color Mode\n\n### CRITICAL: RGB Only\n\n- **Submit in RGB color mode ONLY**\n- **CMYK submissions will be returned for correction**\n- Tag RGB images with originating ICC profile for accurate RGB-to-CMYK conversion\n- PNAS manages print conversion using calibrated profiles\n\n```python\nfrom PIL import Image\n\ndef validate_pnas_color_mode(image_path):\n    \"\"\"PNAS strictly requires RGB. CMYK will be rejected.\"\"\"\n    img = Image.open(image_path)\n\n    if img.mode == 'CMYK':\n        print(\"REJECTED: PNAS does not accept CMYK images\")\n        print(\"Action: Convert to RGB before submission\")\n        return False\n    elif img.mode in ('RGB', 'RGBA'):\n        print(\"PASS: Image is in RGB mode\")\n        return True\n    else:\n        print(f\"WARNING: Unexpected mode '{img.mode}'; convert to RGB\")\n        return False\n\ndef convert_to_rgb(image_path, output_path):\n    \"\"\"Convert any image to RGB for PNAS submission.\"\"\"\n    img = Image.open(image_path)\n    if img.mode != 'RGB':\n        img = img.convert('RGB')\n        print(f\"Converted from {img.mode} to RGB\")\n    img.save(output_path)\n```\n\n---\n\n## Font Requirements\n\n| Element | Specification |\n|---|---|\n| Approved fonts | **Arial, Helvetica, Times, Symbol, Mathematical Pi, European Pi** |\n| Font size | **6-8 pt** at final publication size (minimum 2 mm when printed) |\n| Consistency | Same font for all figures in manuscript |\n| Text type | **Vector text** preferred (scales cleanly) |\n| Embedding | **All fonts must be embedded** in EPS and PDF files |\n\n### Panel Labels (PNAS-Specific Convention)\n- **Italicized uppercase letters**: *A*, *B*, *C*, *D*, ...\n- This is a distinctive PNAS convention — different from most other journals\n\n```python\nimport matplotlib.pyplot as plt\n\ndef set_pnas_fonts():\n    \"\"\"Configure Matplotlib for PNAS figure fonts.\"\"\"\n    plt.rcParams.update({\n        'font.family': 'sans-serif',\n        'font.sans-serif': ['Arial', 'Helvetica'],\n        'font.size': 7,\n        'axes.labelsize': 7,\n        'axes.titlesize': 7,\n        'xtick.labelsize': 6,\n        'ytick.labelsize': 6,\n        'legend.fontsize': 6,\n    })\n\ndef add_pnas_panel_labels(fig, axes):\n    \"\"\"Add PNAS-style italicized uppercase panel labels.\"\"\"\n    import string\n    if not hasattr(axes, '__iter__'):\n        axes = [axes]\n\n    for i, ax in enumerate(axes):\n        label = string.ascii_uppercase[i]\n        ax.text(-0.1, 1.1, label,\n                transform=ax.transAxes,\n                fontsize=8,\n                fontstyle='italic',\n                fontweight='bold',\n                va='top',\n                ha='right',\n                fontfamily='Arial')\n```\n\n---\n\n## Labeling Conventions\n\n- Panel labels: **Italicized uppercase** (*A*, *B*, *C*)\n- All text, numbers, letters, symbols: **6-12 pt (2-6 mm)** after reduction\n- Text sizing must be **consistent within each graphic**\n- Labels should match body text font conventions\n\n---\n\n## Image Integrity and Manipulation Policy\n\n### PROHIBITED\n- Enhancing, obscuring, moving, removing, or introducing any specific feature within an image\n\n### PERMITTED\n- Brightness, contrast, color balance adjustments applied to the **whole image** without obscuring or eliminating original information (including backgrounds)\n\n### REQUIRED\n- When combining images from multiple sources: make **explicit** by arrangement and figure legend text\n- Name processing software in Methods section\n- Indicate all manipulations in figure legends\n- Original data must be available on request (missing data may result in rejection)\n\n### Automated Screening\n**PNAS uses screening software** to detect:\n- Cloning and pasting artifacts\n- Suspicious contrast adjustments that obscure data\n- Inconsistent background pixelation\n- Other signs of inappropriate image manipulation\n\n### Accessibility\n- Beginning with Volume 123, PNAS includes **alt text** for all journal figures to improve digital accessibility\n\n---\n\n## Python Quick Start: Full Validation\n\n```python\nfrom PIL import Image\nimport os\n\ndef validate_pnas_figure(image_path, image_type='halftone', layout='single'):\n    \"\"\"Full validation of a figure against PNAS requirements.\"\"\"\n    img = Image.open(image_path)\n    issues = []\n\n    # 1. Resolution check\n    min_ppi = {'halftone': 300, 'combination': 600, 'lineart': 1000}\n    required = min_ppi.get(image_type, 300)\n    dpi = img.info.get('dpi', (72, 72))\n    if dpi[0] \u003C required:\n        issues.append(f\"Resolution {dpi[0]} PPI below {required} PPI for {image_type}\")\n\n    # 2. STRICT RGB check\n    if img.mode == 'CMYK':\n        issues.append(\"REJECTED: CMYK not accepted. Must convert to RGB\")\n    elif img.mode not in ('RGB', 'RGBA'):\n        issues.append(f\"Color mode '{img.mode}' not standard; use RGB\")\n\n    # 3. Dimension check at publication size\n    widths_cm = {'single': 8.7, 'middle': 11.4, 'double': 17.8}\n    max_height_cm = 22.5\n    if layout in widths_cm and dpi[0] > 0:\n        actual_w_cm = (img.size[0] \u002F dpi[0]) * 2.54\n        actual_h_cm = (img.size[1] \u002F dpi[1]) * 2.54\n        target_w = widths_cm[layout]\n        if actual_h_cm > max_height_cm:\n            issues.append(f\"Height {actual_h_cm:.1f} cm exceeds max {max_height_cm} cm\")\n        print(f\"Print size: {actual_w_cm:.1f} x {actual_h_cm:.1f} cm (target width: {target_w} cm)\")\n\n    # 4. Format check\n    fmt = img.format\n    accepted = ['TIFF', 'EPS', 'PDF', 'PNG', 'JPEG']\n    if fmt and fmt.upper() not in accepted:\n        issues.append(f\"Format '{fmt}' not in preferred list (TIFF, EPS, PDF)\")\n\n    # Report\n    print(f\"=== PNAS Figure Validation ===\")\n    print(f\"Dimensions: {img.size[0]} x {img.size[1]} px\")\n    print(f\"DPI: {dpi[0]} x {dpi[1]}\")\n    print(f\"Color mode: {img.mode}\")\n\n    if issues:\n        print(f\"\\nISSUES FOUND ({len(issues)}):\")\n        for issue in issues:\n            print(f\"  - {issue}\")\n    else:\n        print(\"\\nAll checks PASSED\")\n\n    return len(issues) == 0\n```\n\n---\n\n## Key Concepts\n\n### Strict RGB-Only Policy\n\nPNAS enforces one of the strictest color mode policies in scientific publishing. CMYK submissions are returned without review. Authors must submit all figures in RGB color mode and tag images with their originating ICC profile to ensure accurate RGB-to-CMYK conversion by the journal's production team.\n\n### Three-Tier Resolution System\n\nPNAS uses PPI (pixels per inch) rather than DPI and defines three tiers: 300 PPI for halftones (photographs), 600-900 DPI for combination artwork (mixed text and images from MS Office), and 1,000 PPI for line art (bitmap text and thin lines). Images must meet these thresholds at final publication size.\n\n### Automated Image Screening\n\nPNAS employs screening software that automatically detects signs of inappropriate image manipulation including cloning\u002Fpasting artifacts, suspicious contrast adjustments, and inconsistent background pixelation. This automated screening supplements editorial review and can flag issues that manual inspection might miss.\n\n## Decision Framework\n\n```\nWhat color mode is your image?\n├── CMYK → REJECTED (convert to RGB before submission)\n├── RGB → Accepted\n│   └── ICC profile tagged? → Recommended for accurate print conversion\n└── Grayscale → Convert to RGB\n\nWhat type of image?\n├── Halftone (photo\u002Fmicrograph) → 300 PPI minimum\n├── Combination (MS Office mixed) → 600-900 DPI\n├── Line art (bitmap text\u002Flines) → 1,000 PPI\n└── LaTeX figure → High-quality PDF or EPS\n\nWhat submission stage?\n├── Initial → Single PDF with all content (format-neutral)\n└── Production → Separate high-resolution figure uploads\n```\n\n| Scenario | Format | Resolution | Color Mode |\n|---|---|---|---|\n| Micrograph | TIFF | 300 PPI | RGB (ICC tagged) |\n| PowerPoint chart | PPT or TIFF | 600-900 DPI | RGB |\n| Schematic diagram | EPS or PDF | Vector or 1,000 PPI | RGB |\n| Gel\u002Fblot image | TIFF | 300 PPI | RGB |\n| 3D molecular model | PRC\u002FU3D + TIFF | 300 PPI (2D fallback) | RGB |\n\n## Best Practices\n\n1. **Convert CMYK to RGB before submission**: PNAS returns CMYK files without review. Always verify color mode before upload using image metadata tools\n2. **Tag RGB images with ICC profiles**: Embedding the originating ICC profile ensures accurate color conversion during PNAS's print production pipeline\n3. **Provide images at final publication size**: PNAS requires figures sized to column widths (8.7\u002F11.4\u002F17.8 cm). Do not submit oversized images expecting the journal to resize\n4. **Use italicized uppercase panel labels**: PNAS uses a distinctive convention — *A*, *B*, *C* (italic, uppercase) — that differs from most other journals\n5. **Embed all fonts in EPS and PDF files**: Missing fonts cause rendering failures. Use vector text rather than rasterized text for clean scaling\n6. **Prepare alt text for accessibility**: Since Volume 123, PNAS includes alt text for all figures. Drafting alt text during figure preparation saves revision time\n7. **Name processing software in Methods**: PNAS requires explicit mention of all image processing software used, not just a general description of adjustments\n\n## Common Pitfalls\n\n1. **Submitting figures in CMYK color mode**: PNAS strictly rejects CMYK. This is the most common preventable rejection reason for figures\n   - *How to avoid*: Run the color mode validation script on every figure before submission; convert CMYK to RGB\n2. **Using 300 PPI for line art**: Line art with bitmap text requires 1,000 PPI. At 300 PPI, thin lines and small text appear jagged\n   - *How to avoid*: Classify each figure by type (halftone vs. line art vs. combination) and apply the correct resolution tier\n3. **Submitting figures larger than publication size**: PNAS requires images at final size, not oversized. Oversized figures may be rescaled, degrading quality\n   - *How to avoid*: Set canvas size to the target column width before exporting\n4. **Using non-italic panel labels**: PNAS's italic uppercase convention (*A*, *B*, *C*) is unique. Non-italic labels signal unfamiliarity with the journal\n   - *How to avoid*: Use `fontstyle='italic'` in matplotlib or the italic setting in Illustrator for panel labels\n5. **Omitting multi-source composite indicators**: When combining images from different experiments, PNAS requires explicit visual and textual indication\n   - *How to avoid*: Use clear borders or spacing between composite elements and describe the composition in the figure legend\n\n## Pre-Submission Checklist\n\nBefore submitting figures to PNAS, verify:\n\n- [ ] Halftones at 300+ PPI; line art at 1,000+ PPI\n- [ ] File format is TIFF, EPS, or PDF\n- [ ] **Color mode is RGB** (NOT CMYK — will be rejected)\n- [ ] ICC profile tagged for accurate color conversion\n- [ ] Figure width matches column layout (8.7 \u002F 11.4 \u002F 17.8 cm)\n- [ ] Figure height does not exceed 22.5 cm\n- [ ] Images provided at **final publication size**\n- [ ] Font is Arial, Helvetica, or Times at 6-8 pt\n- [ ] All fonts embedded in EPS\u002FPDF\n- [ ] Panel labels are **italicized uppercase** (*A*, *B*, *C*)\n- [ ] Text sizing consistent within each figure\n- [ ] All adjustments applied to entire image uniformly\n- [ ] Multi-source composites explicitly indicated in legend\n- [ ] Processing software named in Methods\n- [ ] Original unprocessed data available for review\n- [ ] Alt text prepared for accessibility\n\n---\n\n## References\n\n- PNAS Submission Guidelines: https:\u002F\u002Fwww.pnas.org\u002Fauthor-center\u002Fsubmitting-your-manuscript\n- PNAS Digital Art Guidelines: https:\u002F\u002Fwww.pnas.org\u002Fpb-assets\u002Fauthors\u002Fdigitalart.pdf\n- PNAS Editorial Policies: https:\u002F\u002Fwww.pnas.org\u002Fauthor-center\u002Feditorial-and-journal-policies\n","# PNAS Figure Preparation Guide\n\n## Overview\n\nThis guide provides the complete specifications for preparing figures for submission to **PNAS** (Proceedings of the National Academy of Sciences). PNAS is notable for its **strict RGB-only policy** (CMYK submissions are returned), **italicized uppercase panel labels**, and **automated image screening software**.\n\n**Official reference**: https:\u002F\u002Fwww.pnas.org\u002Fauthor-center\u002Fsubmitting-your-manuscript\n\n---\n\n## Resolution Requirements\n\n| Image Type | Minimum Resolution | Notes |\n|---|---|---|\n| Halftones (color\u002Fgrayscale photos) | **300 PPI** | At publication size |\n| Combination artwork (MS Office) | **600-900 DPI** | Mixed text and images |\n| Line art (bitmap text\u002Fthin lines) | **1,000 PPI** | At publication size |\n| LaTeX figures | — | High-quality PDF or EPS |\n\n```python\nfrom PIL import Image\n\ndef check_pnas_resolution(image_path, image_type='halftone'):\n    \"\"\"Check if image meets PNAS resolution requirements.\n\n    Args:\n        image_type: 'halftone' (300), 'combination' (600), or 'lineart' (1000)\n    \"\"\"\n    min_ppi = {'halftone': 300, 'combination': 600, 'lineart': 1000}\n    required = min_ppi.get(image_type, 300)\n\n    img = Image.open(image_path)\n    dpi = img.info.get('dpi', (72, 72))\n\n    print(f\"Type: {image_type} | Required: {required} PPI | Actual: {dpi[0]} PPI\")\n\n    if dpi[0] >= required:\n        print(\"PASS\")\n    else:\n        print(f\"FAIL: Need {required} PPI minimum\")\n\n    return dpi[0] >= required\n```\n\n---\n\n## File Format\n\n| Format | Accepted |\n|---|---|\n| **TIFF** | Yes (preferred for raster) |\n| **EPS** | Yes (fonts must be embedded) |\n| **PDF** | Yes (fonts must be embedded) |\n| **PPT** | Yes |\n| **3D images** | PRC or U3D with 2D representation (TIFF\u002FEPS\u002FPDF) |\n\n### Submission Stages\n- **Initial submission**: Format-neutral — single PDF containing full manuscript, figures, and SI. High-resolution files not required.\n- **Production phase**: Separate high-resolution figure uploads required.\n\n---\n\n## Figure Size and Dimensions\n\n**IMPORTANT**: Provide images at **final publication size**, not full-page size.\n\n| Layout | Width |\n|---|---|\n| 1 column | **8.7 cm** (3.43 in) |\n| 1.5 columns | **11.4 cm** (4.5 in \u002F 27 picas) |\n| 2 columns | **17.8 cm** (7.0 in \u002F 42.125 picas) |\n| Maximum height | **22.5 cm** (9 in \u002F 54 picas) |\n\n```python\nimport matplotlib.pyplot as plt\n\nPNAS_WIDTHS = {\n    'single':  8.7 \u002F 2.54,   # 3.43 inches\n    'middle':  11.4 \u002F 2.54,  # 4.49 inches\n    'double':  17.8 \u002F 2.54,  # 7.01 inches\n}\nPNAS_MAX_HEIGHT = 22.5 \u002F 2.54  # 8.86 inches\n\ndef create_pnas_figure(layout='single', aspect_ratio=0.75):\n    \"\"\"Create a Matplotlib figure sized for PNAS.\"\"\"\n    width = PNAS_WIDTHS[layout]\n    height = min(width * aspect_ratio, PNAS_MAX_HEIGHT)\n\n    fig, ax = plt.subplots(figsize=(width, height))\n    fig.set_dpi(300)\n    return fig, ax\n```\n\n---\n\n## Color Mode\n\n### CRITICAL: RGB Only\n\n- **Submit in RGB color mode ONLY**\n- **CMYK submissions will be returned for correction**\n- Tag RGB images with originating ICC profile for accurate RGB-to-CMYK conversion\n- PNAS manages print conversion using calibrated profiles\n\n```python\nfrom PIL import Image\n\ndef validate_pnas_color_mode(image_path):\n    \"\"\"PNAS strictly requires RGB. CMYK will be rejected.\"\"\"\n    img = Image.open(image_path)\n\n    if img.mode == 'CMYK':\n        print(\"REJECTED: PNAS does not accept CMYK images\")\n        print(\"Action: Convert to RGB before submission\")\n        return False\n    elif img.mode in ('RGB', 'RGBA'):\n        print(\"PASS: Image is in RGB mode\")\n        return True\n    else:\n        print(f\"WARNING: Unexpected mode '{img.mode}'; convert to RGB\")\n        return False\n\ndef convert_to_rgb(image_path, output_path):\n    \"\"\"Convert any image to RGB for PNAS submission.\"\"\"\n    img = Image.open(image_path)\n    if img.mode != 'RGB':\n        img = img.convert('RGB')\n        print(f\"Converted from {img.mode} to RGB\")\n    img.save(output_path)\n```\n\n---\n\n## Font Requirements\n\n| Element | Specification |\n|---|---|\n| Approved fonts | **Arial, Helvetica, Times, Symbol, Mathematical Pi, European Pi** |\n| Font size | **6-8 pt** at final publication size (minimum 2 mm when printed) |\n| Consistency | Same font for all figures in manuscript |\n| Text type | **Vector text** preferred (scales cleanly) |\n| Embedding | **All fonts must be embedded** in EPS and PDF files |\n\n### Panel Labels (PNAS-Specific Convention)\n- **Italicized uppercase letters**: *A*, *B*, *C*, *D*, ...\n- This is a distinctive PNAS convention — different from most other journals\n\n```python\nimport matplotlib.pyplot as plt\n\ndef set_pnas_fonts():\n    \"\"\"Configure Matplotlib for PNAS figure fonts.\"\"\"\n    plt.rcParams.update({\n        'font.family': 'sans-serif',\n        'font.sans-serif': ['Arial', 'Helvetica'],\n        'font.size': 7,\n        'axes.labelsize': 7,\n        'axes.titlesize': 7,\n        'xtick.labelsize': 6,\n        'ytick.labelsize': 6,\n        'legend.fontsize': 6,\n    })\n\ndef add_pnas_panel_labels(fig, axes):\n    \"\"\"Add PNAS-style italicized uppercase panel labels.\"\"\"\n    import string\n    if not hasattr(axes, '__iter__'):\n        axes = [axes]\n\n    for i, ax in enumerate(axes):\n        label = string.ascii_uppercase[i]\n        ax.text(-0.1, 1.1, label,\n                transform=ax.transAxes,\n                fontsize=8,\n                fontstyle='italic',\n                fontweight='bold',\n                va='top',\n                ha='right',\n                fontfamily='Arial')\n```\n\n---\n\n## Labeling Conventions\n\n- Panel labels: **Italicized uppercase** (*A*, *B*, *C*)\n- All text, numbers, letters, symbols: **6-12 pt (2-6 mm)** after reduction\n- Text sizing must be **consistent within each graphic**\n- Labels should match body text font conventions\n\n---\n\n## Image Integrity and Manipulation Policy\n\n### PROHIBITED\n- Enhancing, obscuring, moving, removing, or introducing any specific feature within an image\n\n### PERMITTED\n- Brightness, contrast, color balance adjustments applied to the **whole image** without obscuring or eliminating original information (including backgrounds)\n\n### REQUIRED\n- When combining images from multiple sources: make **explicit** by arrangement and figure legend text\n- Name processing software in Methods section\n- Indicate all manipulations in figure legends\n- Original data must be available on request (missing data may result in rejection)\n\n### Automated Screening\n**PNAS uses screening software** to detect:\n- Cloning and pasting artifacts\n- Suspicious contrast adjustments that obscure data\n- Inconsistent background pixelation\n- Other signs of inappropriate image manipulation\n\n### Accessibility\n- Beginning with Volume 123, PNAS includes **alt text** for all journal figures to improve digital accessibility\n\n---\n\n## Python Quick Start: Full Validation\n\n```python\nfrom PIL import Image\nimport os\n\ndef validate_pnas_figure(image_path, image_type='halftone', layout='single'):\n    \"\"\"Full validation of a figure against PNAS requirements.\"\"\"\n    img = Image.open(image_path)\n    issues = []\n\n    # 1. Resolution check\n    min_ppi = {'halftone': 300, 'combination': 600, 'lineart': 1000}\n    required = min_ppi.get(image_type, 300)\n    dpi = img.info.get('dpi', (72, 72))\n    if dpi[0] \u003C required:\n        issues.append(f\"Resolution {dpi[0]} PPI below {required} PPI for {image_type}\")\n\n    # 2. STRICT RGB check\n    if img.mode == 'CMYK':\n        issues.append(\"REJECTED: CMYK not accepted. Must convert to RGB\")\n    elif img.mode not in ('RGB', 'RGBA'):\n        issues.append(f\"Color mode '{img.mode}' not standard; use RGB\")\n\n    # 3. Dimension check at publication size\n    widths_cm = {'single': 8.7, 'middle': 11.4, 'double': 17.8}\n    max_height_cm = 22.5\n    if layout in widths_cm and dpi[0] > 0:\n        actual_w_cm = (img.size[0] \u002F dpi[0]) * 2.54\n        actual_h_cm = (img.size[1] \u002F dpi[1]) * 2.54\n        target_w = widths_cm[layout]\n        if actual_h_cm > max_height_cm:\n            issues.append(f\"Height {actual_h_cm:.1f} cm exceeds max {max_height_cm} cm\")\n        print(f\"Print size: {actual_w_cm:.1f} x {actual_h_cm:.1f} cm (target width: {target_w} cm)\")\n\n    # 4. Format check\n    fmt = img.format\n    accepted = ['TIFF', 'EPS', 'PDF', 'PNG', 'JPEG']\n    if fmt and fmt.upper() not in accepted:\n        issues.append(f\"Format '{fmt}' not in preferred list (TIFF, EPS, PDF)\")\n\n    # Report\n    print(f\"=== PNAS Figure Validation ===\")\n    print(f\"Dimensions: {img.size[0]} x {img.size[1]} px\")\n    print(f\"DPI: {dpi[0]} x {dpi[1]}\")\n    print(f\"Color mode: {img.mode}\")\n\n    if issues:\n        print(f\"\\nISSUES FOUND ({len(issues)}):\")\n        for issue in issues:\n            print(f\"  - {issue}\")\n    else:\n        print(\"\\nAll checks PASSED\")\n\n    return len(issues) == 0\n```\n\n---\n\n## Key Concepts\n\n### Strict RGB-Only Policy\n\nPNAS enforces one of the strictest color mode policies in scientific publishing. CMYK submissions are returned without review. Authors must submit all figures in RGB color mode and tag images with their originating ICC profile to ensure accurate RGB-to-CMYK conversion by the journal's production team.\n\n### Three-Tier Resolution System\n\nPNAS uses PPI (pixels per inch) rather than DPI and defines three tiers: 300 PPI for halftones (photographs), 600-900 DPI for combination artwork (mixed text and images from MS Office), and 1,000 PPI for line art (bitmap text and thin lines). Images must meet these thresholds at final publication size.\n\n### Automated Image Screening\n\nPNAS employs screening software that automatically detects signs of inappropriate image manipulation including cloning\u002Fpasting artifacts, suspicious contrast adjustments, and inconsistent background pixelation. This automated screening supplements editorial review and can flag issues that manual inspection might miss.\n\n## Decision Framework\n\n```\nWhat color mode is your image?\n├── CMYK → REJECTED (convert to RGB before submission)\n├── RGB → Accepted\n│   └── ICC profile tagged? → Recommended for accurate print conversion\n└── Grayscale → Convert to RGB\n\nWhat type of image?\n├── Halftone (photo\u002Fmicrograph) → 300 PPI minimum\n├── Combination (MS Office mixed) → 600-900 DPI\n├── Line art (bitmap text\u002Flines) → 1,000 PPI\n└── LaTeX figure → High-quality PDF or EPS\n\nWhat submission stage?\n├── Initial → Single PDF with all content (format-neutral)\n└── Production → Separate high-resolution figure uploads\n```\n\n| Scenario | Format | Resolution | Color Mode |\n|---|---|---|---|\n| Micrograph | TIFF | 300 PPI | RGB (ICC tagged) |\n| PowerPoint chart | PPT or TIFF | 600-900 DPI | RGB |\n| Schematic diagram | EPS or PDF | Vector or 1,000 PPI | RGB |\n| Gel\u002Fblot image | TIFF | 300 PPI | RGB |\n| 3D molecular model | PRC\u002FU3D + TIFF | 300 PPI (2D fallback) | RGB |\n\n## Best Practices\n\n1. **Convert CMYK to RGB before submission**: PNAS returns CMYK files without review. Always verify color mode before upload using image metadata tools\n2. **Tag RGB images with ICC profiles**: Embedding the originating ICC profile ensures accurate color conversion during PNAS's print production pipeline\n3. **Provide images at final publication size**: PNAS requires figures sized to column widths (8.7\u002F11.4\u002F17.8 cm). Do not submit oversized images expecting the journal to resize\n4. **Use italicized uppercase panel labels**: PNAS uses a distinctive convention — *A*, *B*, *C* (italic, uppercase) — that differs from most other journals\n5. **Embed all fonts in EPS and PDF files**: Missing fonts cause rendering failures. Use vector text rather than rasterized text for clean scaling\n6. **Prepare alt text for accessibility**: Since Volume 123, PNAS includes alt text for all figures. Drafting alt text during figure preparation saves revision time\n7. **Name processing software in Methods**: PNAS requires explicit mention of all image processing software used, not just a general description of adjustments\n\n## Common Pitfalls\n\n1. **Submitting figures in CMYK color mode**: PNAS strictly rejects CMYK. This is the most common preventable rejection reason for figures\n   - *How to avoid*: Run the color mode validation script on every figure before submission; convert CMYK to RGB\n2. **Using 300 PPI for line art**: Line art with bitmap text requires 1,000 PPI. At 300 PPI, thin lines and small text appear jagged\n   - *How to avoid*: Classify each figure by type (halftone vs. line art vs. combination) and apply the correct resolution tier\n3. **Submitting figures larger than publication size**: PNAS requires images at final size, not oversized. Oversized figures may be rescaled, degrading quality\n   - *How to avoid*: Set canvas size to the target column width before exporting\n4. **Using non-italic panel labels**: PNAS's italic uppercase convention (*A*, *B*, *C*) is unique. Non-italic labels signal unfamiliarity with the journal\n   - *How to avoid*: Use `fontstyle='italic'` in matplotlib or the italic setting in Illustrator for panel labels\n5. **Omitting multi-source composite indicators**: When combining images from different experiments, PNAS requires explicit visual and textual indication\n   - *How to avoid*: Use clear borders or spacing between composite elements and describe the composition in the figure legend\n\n## Pre-Submission Checklist\n\nBefore submitting figures to PNAS, verify:\n\n- [ ] Halftones at 300+ PPI; line art at 1,000+ PPI\n- [ ] File format is TIFF, EPS, or PDF\n- [ ] **Color mode is RGB** (NOT CMYK — will be rejected)\n- [ ] ICC profile tagged for accurate color conversion\n- [ ] Figure width matches column layout (8.7 \u002F 11.4 \u002F 17.8 cm)\n- [ ] Figure height does not exceed 22.5 cm\n- [ ] Images provided at **final publication size**\n- [ ] Font is Arial, Helvetica, or Times at 6-8 pt\n- [ ] All fonts embedded in EPS\u002FPDF\n- [ ] Panel labels are **italicized uppercase** (*A*, *B*, *C*)\n- [ ] Text sizing consistent within each figure\n- [ ] All adjustments applied to entire image uniformly\n- [ ] Multi-source composites explicitly indicated in legend\n- [ ] Processing software named in Methods\n- [ ] Original unprocessed data available for review\n- [ ] Alt text prepared for accessibility\n\n---\n\n## References\n\n- PNAS Submission Guidelines: https:\u002F\u002Fwww.pnas.org\u002Fauthor-center\u002Fsubmitting-your-manuscript\n- PNAS Digital Art Guidelines: https:\u002F\u002Fwww.pnas.org\u002Fpb-assets\u002Fauthors\u002Fdigitalart.pdf\n- PNAS Editorial Policies: https:\u002F\u002Fwww.pnas.org\u002Fauthor-center\u002Feditorial-and-journal-policies\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":27},{"authors":25,"version":26},"HITS","1.0","Python 3.10+, Pillow, Matplotlib","master","63f17866001c5ca854bf2fa0b678ce277133de5b","skills\u002Fawesome-skills\u002Fpnas-figure-guide",0,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS","https:\u002F\u002Fbg-szy.github.io\u002FTOP-SKILLS\u002F","https:\u002F\u002Fgithub.com\u002Fbg-szy","https:\u002F\u002Fwww.ecust.edu.cn\u002F","a student of East China University of Science and Technology","2026-11-15 03:38:02",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add bg-szy\u002FTOP-SKILLS --skill pnas-figure-guide",{"tool":44,"command":45},"bunx","bunx skills add bg-szy\u002FTOP-SKILLS --skill pnas-figure-guide",{"tool":47,"command":48},"pnpm","pnpm dlx skills add bg-szy\u002FTOP-SKILLS --skill pnas-figure-guide","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fawesome-skills\u002Fpnas-figure-guide\u002FSKILL.md",true,[],[53,62,69,76,83,90],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":61},"01M7DXW9N826PKXK174PVW3038","serpmaven","Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.","MIT","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fserpmaven\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":61},"01M7DXVHSTWDV65475QEQ915M7","revnu-landing-page-audit","Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: \"audit my landing page\", \"why isn't this page converting\", \"review my homepage\", \"my ads get clicks but no signups\", \"people bounce from the pricing page\", \"CRO review\", \"improve conversion rate\", \"is my hero section clear\", \"roast my landing page\", \"rewrite my headline\", \"what's wrong with this page\", \"landing page feedback\", \"make the signup page convert better\". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-landing-page-audit\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":61},"01M7DXV8X2D7B3VTD4HHYYHTGR","revnu-growth-context","Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents\u002Frevnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says \"set up our marketing context\", \"who is our ideal customer\", \"write our ICP\", \"describe the product for marketing\", \"positioning doc\", \"what's our brand voice\", \"remember this about our customers\", \"log what we tried\", \"what have we learned from marketing\", \"we changed pricing, update the context\", \"update our growth notes\", \"summarize the business for the agent\", \"import my product-marketing.md\", \"start a growth doc\", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-growth-context\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":61},"01M7DXV0DGJ1G0A60PAHC6J3C5","revnu-get-listed","Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: \"best X\" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says \"get us listed\", \"which directories should we submit to\", \"how do we get into best-of lists\", \"why does ChatGPT recommend competitors and not us\", \"get mentioned in AI answers\", \"submit to awesome lists\", \"get on G2\", \"where are our competitors listed\", \"pitch listicle authors\", \"find backlink opportunities\", \"launch directories\", \"get into roundups\", \"Product Hunt alternatives\", \"where should we be listed\", \"get cited by Perplexity\". Never submits, pays or posts without a yes. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-get-listed\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":61},"01M7DXTSPMGT9D6DSS0HP9BSTA","revnu-ai-readiness-audit","Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks \"is my site ready for AI search\", \"audit my site for AI answers\", \"AEO audit\", \"GEO audit\", \"why doesn't ChatGPT quote our pricing\", \"make our pages citable by AI\", \"do I need llms.txt\", \"does schema help with ChatGPT\", \"check our structured data\", \"is our content visible without JavaScript\", \"AI SEO audit\", \"optimize our homepage for AI answers\", \"LLM SEO check\", \"why does AI get our product wrong\", \"fix our site for AI Overviews\". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-ai-readiness-audit\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":57,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":61},"01M7DXSZHCVTRS620GC3S97JZV","proxy-troubleshooting","Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fproxy-troubleshooting\u002FSKILL.md",[],[]]