Skip to content

DOC: Remove "Multiple lines using pyplot"#31705

Open
timhoffm wants to merge 1 commit into
matplotlib:mainfrom
timhoffm:doc-remove-pyplot-multiple-lines
Open

DOC: Remove "Multiple lines using pyplot"#31705
timhoffm wants to merge 1 commit into
matplotlib:mainfrom
timhoffm:doc-remove-pyplot-multiple-lines

Conversation

@timhoffm
Copy link
Copy Markdown
Member

We should not promote the specific plot(x, y, fmt, x2, y2, fmt) anymore. This is a Matlabism and hard to read and reason about. Separate plot() calls are the better option. They don't need a dedicated pyplot example. Therefore, a redirect to the pyplot subplot example is sufficient, which as a side-topic has two plot calls in one subplot.

While at it, I improved the description of the peplos subplot example.

@github-actions github-actions Bot added the Documentation: examples files in galleries/examples label May 19, 2026
We should not promote the specific `plot(x, y, fmt, x2, y2, fmt)` anymore. This is a Matlabism and hard to read and reason about. Separate `plot()` calls are the better option. They don't need a dedicated pyplot example. Therefore, a redirect to the pyplot subplot example is sufficient, which as a side-topic has two plot calls in one subplot.
@timhoffm timhoffm force-pushed the doc-remove-pyplot-multiple-lines branch from 6025ef7 to 9704c63 Compare May 19, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation: examples files in galleries/examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant