Skip to content

[Doc]: Transformation tutorial uses outdated description for polar transform #24499

@anntzer

Description

@anntzer

Documentation Link

https://matplotlib.org/stable/tutorials/advanced/transforms_tutorial.html#the-transformation-pipeline

Problem

The docs currently state

For non-separable axes the PolarAxes, there is one more piece to consider, the projection transformation. The transData matplotlib.projections.polar.PolarAxes is similar to that for the typical separable matplotlib Axes, with one additional piece transProjection:

self.transData = self.transScale + self.transProjection + \
    (self.transProjectionAffine + self.transAxes)

but this is currently outdated: the polar transData is now

        self.transData = (
            self.transScale + self.transShift + self.transProjection +
            (self.transProjectionAffine + self.transWedge + self.transAxes))

(since some old changes by @QuLogic)

Suggested improvement

I'm not actually sure we need to go into these details in the transformation tutorial so perhaps the entire section can be rewritten to remove the details, but if we do keep that information it should be updated.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy