FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Copy-edit the transform tutorial. by anntzer · Pull Request #31167 · matplotlib/matplotlib · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
25 changes: 12 additions & 13 deletions galleries/users_explain/artists/transforms_tutorial.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -563,19 +563,18 @@
# you call ``ax.set_xscale('log')``, the xaxis updates its scale to a
# :class:`matplotlib.scale.LogScale` instance.
#
# For non-separable axes the PolarAxes, there is one more piece to
# consider, the projection transformation. The ``transData``
# :class:`matplotlib.projections.polar.PolarAxes` is similar to that for
# the typical separable matplotlib Axes, with one additional piece
# ``transProjection``::
#
# self.transData = (
# self.transScale + self.transShift + self.transProjection +
# (self.transProjectionAffine + self.transWedge + self.transAxes))
#
# ``transProjection`` handles the projection from the space,
# e.g., latitude and longitude for map data, or radius and theta for polar
# data, to a separable Cartesian coordinate system. There are several
# For non-separable axes, there are some more pieces to consider, in
# particular the projection transformation. For example, the ``transData``
# of `matplotlib.projections.polar.PolarAxes` is more complex than that of a
# typical separable Axes::
#
# self.transData = (
# self.transScale + self.transShift + self.transProjection +
# (self.transProjectionAffine + self.transWedge + self.transAxes))
#
# ``transProjection`` handles the projection from data coordinates
# (e.g., latitude and longitude for map data, or radius and theta for polar
# data), to a separable Cartesian coordinate system. There are several
# projection examples in the :mod:`matplotlib.projections` package, and the
# best way to learn more is to open the source for those packages and
# see how to make your own, since Matplotlib supports extensible axes
Expand Down

Back | FazBrowse Home | New Git URL