Skip to content

Rework pylab docstring.#16439

Merged
anntzer merged 1 commit intomatplotlib:masterfrom
tacaswell:backup_16437
Feb 8, 2020
Merged

Rework pylab docstring.#16439
anntzer merged 1 commit intomatplotlib:masterfrom
tacaswell:backup_16437

Conversation

@tacaswell
Copy link
Copy Markdown
Member

The old pylab module docstring was not rendered anywhere in the html
docs (it was only visible with pydoc or with IPython's pylab?), and is
outdated (e.g. it doesn't even list viridis as colormap).

Instead of trying to list the functions provided, replace the docstring
by the warning discouraging the use of pylab, and use that as entry in
the html docs.

This replaces #16437 which was reverted due to https://discourse.matplotlib.org/t/removed-commits-from-master-branch/20868

The old pylab module docstring was not rendered anywhere in the html
docs (it was only visible with pydoc or with IPython's `pylab?`), and is
outdated (e.g. it doesn't even list viridis as colormap).

Instead of trying to list the functions provided, replace the docstring
by the warning discouraging the use of pylab, and use that as entry in
the html docs.
@tacaswell tacaswell added this to the v3.3.0 milestone Feb 8, 2020
@anntzer anntzer mentioned this pull request Feb 8, 2020
6 tasks
@anntzer anntzer merged commit 55112ff into matplotlib:master Feb 8, 2020
@tacaswell tacaswell deleted the backup_16437 branch February 9, 2020 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants