8000 Fix incorrect doc regarding projections. by anntzer · Pull Request #16101 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions doc/devel/add_new_projection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ that handle data in two or more dimensions at a time, are called
"projections".

From the user's perspective, the scale of a plot can be set with
:meth:`~matplotlib.axes.Axes.set_xscale` and
:meth:`~matplotlib.axes.Axes.set_yscale`. Projections can be chosen
using the ``projection`` keyword argument to the
:func:`~matplotlib.pylab.plot` or :func:`~matplotlib.pylab.subplot`
functions, e.g.::
`.Axes.set_xscale` and `.Axes.set_yscale`. Projections can be chosen using the
*projection* keyword argument of functions that create Axes, such as
`.pyplot.subplot` or `.pyplot.axes`, e.g. ::

plot(x, y, projection="custom")
plt.subplot(projection="custom")

This document is intended for developers and advanced users who need
to create new scales and projections for Matplotlib. The necessary
Expand Down
0