Skip to content

document warnings - #2464

Closed
ump45nose wants to merge 1 commit into
observablehq:mainfrom
ump45nose:contrib/plot-s-warning-feature-needs-documentati-811
Closed

ump45nose wants to merge 1 commit into
observablehq:mainfrom
ump45nose:contrib/plot-s-warning-feature-needs-documentati-811

Conversation

@ump45nose

Copy link
Copy Markdown

document warnings

Plot has been able to generate warnings for common mistakes since 0.4.1,
but they were only mentioned in the CHANGELOG. Describe how warnings are
surfaced to the user, how the warning count works, how to silence a
warning, and list the warnings Plot currently emits.

The examples and warning text come from src/warnings.js, src/plot.js and
the individual warn() call sites, so the page reflects current behavior.

Closes: #811

This pull request was prepared with the assistance of an AI coding agent and
has not yet been reviewed by a human.

Plot has been able to generate warnings for common mistakes since 0.4.1,
but they were only mentioned in the CHANGELOG. Describe how warnings are
surfaced to the user, how the warning count works, how to silence a
warning, and list the warnings Plot currently emits.

The examples and warning text come from src/warnings.js, src/plot.js and
the individual warn() call sites, so the page reflects current behavior.

Closes: observablehq#811
@Fil

Fil commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

This pull request was prepared with the assistance of an AI coding agent and
has not yet been reviewed by a human.

Please have a human review the PR before you submit it. Thank you.

@Fil Fil closed this Oct 6, 2026
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.

Plot’s warning feature ⚠️ needs documentation

2 participants