Skip to content

Commit 7eaff94

Browse files
authored
Merge pull request #31167 from anntzer/tt
Copy-edit the transform tutorial.
2 parents 11dad7b + 72fdeb6 commit 7eaff94

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

galleries/users_explain/artists/transforms_tutorial.py

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -563,19 +563,18 @@
563563
# you call ``ax.set_xscale('log')``, the xaxis updates its scale to a
564564
# :class:`matplotlib.scale.LogScale` instance.
565565
#
566-
# For non-separable axes the PolarAxes, there is one more piece to
567-
# consider, the projection transformation. The ``transData``
568-
# :class:`matplotlib.projections.polar.PolarAxes` is similar to that for
569-
# the typical separable matplotlib Axes, with one additional piece
570-
# ``transProjection``::
571-
#
572-
# self.transData = (
573-
# self.transScale + self.transShift + self.transProjection +
574-
# (self.transProjectionAffine + self.transWedge + self.transAxes))
575-
#
576-
# ``transProjection`` handles the projection from the space,
577-
# e.g., latitude and longitude for map data, or radius and theta for polar
578-
# data, to a separable Cartesian coordinate system. There are several
566+
# For non-separable axes, there are some more pieces to consider, in
567+
# particular the projection transformation. For example, the ``transData``
568+
# of `matplotlib.projections.polar.PolarAxes` is more complex than that of a
569+
# typical separable Axes::
570+
#
571+
# self.transData = (
572+
# self.transScale + self.transShift + self.transProjection +
573+
# (self.transProjectionAffine + self.transWedge + self.transAxes))
574+
#
575+
# ``transProjection`` handles the projection from data coordinates
576+
# (e.g., latitude and longitude for map data, or radius and theta for polar
577+
# data), to a separable Cartesian coordinate system. There are several
579578
# projection examples in the :mod:`matplotlib.projections` package, and the
580579
# best way to learn more is to open the source for those packages and
581580
# see how to make your own, since Matplotlib supports extensible axes

0 commit comments

Comments
 (0)