Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Copy link
Copy link
Open
@anntzer

Description

@anntzer
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.