Skip to content

Restore narrative flow in colouring guide#75

Merged
bjmorgan merged 1 commit intomainfrom
docs-colouring-narrative
Apr 12, 2026
Merged

Restore narrative flow in colouring guide#75
bjmorgan merged 1 commit intomainfrom
docs-colouring-narrative

Conversation

@bjmorgan
Copy link
Copy Markdown
Owner

Summary

The colouring guide had accumulated API-reference material (three-method listing, 2-D consistency rules, recovery workflows, read-only mapping note) between the intro and the first code example. A reader wanting to colour atoms by charge had to wade through clear_2d_atom_data before seeing their first snippet.

Restores the original narrative flow: continuous data, categorical data, partial/sparse data, custom functions, layers, polyhedra. Moves the 2-D trajectory content to a brief cross-reference to the animations docs (which already cover per-frame colouring in detail). API-reference material is already in the docstrings rendered via :members: in api.rst.

Copilot AI review requested due to automatic review settings April 12, 2026 14:59
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reorders the docs/colouring.rst guide to prioritize a “show first code example earlier” narrative, moving API-reference-heavy details out of the intro and adding a brief cross-reference for trajectory/per-frame colouring.

Changes:

  • Removes the early, API-reference-style discussion of set_atom_data / del_atom_data / clear_2d_atom_data workflows from the intro.
  • Consolidates “partial/sparse data” guidance into a single section placed immediately after categorical data.
  • Adds a short “Per-frame colouring” section that points readers to the animations guide for deeper trajectory examples.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bjmorgan bjmorgan force-pushed the docs-colouring-narrative branch from 6fc1a75 to 9fe09c2 Compare April 12, 2026 15:04
Copilot AI review requested due to automatic review settings April 12, 2026 15:05
@bjmorgan bjmorgan force-pushed the docs-colouring-narrative branch from 9fe09c2 to 7885dbd Compare April 12, 2026 15:05
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bjmorgan bjmorgan force-pushed the docs-colouring-narrative branch from 7885dbd to 9f64dfd Compare April 12, 2026 15:43
@bjmorgan bjmorgan merged commit a92cc86 into main Apr 12, 2026
5 checks passed
@bjmorgan bjmorgan deleted the docs-colouring-narrative branch April 12, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants