|
563 | 563 | # you call ``ax.set_xscale('log')``, the xaxis updates its scale to a |
564 | 564 | # :class:`matplotlib.scale.LogScale` instance. |
565 | 565 | # |
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 |
579 | 578 | # projection examples in the :mod:`matplotlib.projections` package, and the |
580 | 579 | # best way to learn more is to open the source for those packages and |
581 | 580 | # see how to make your own, since Matplotlib supports extensible axes |
|
0 commit comments