-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
inverse transform break chaining #10741
Copy link
Copy link
Open
Labels
Difficulty: Hardhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesNew featurekeepItems to be ignored by the “Stale” Github ActionItems to be ignored by the “Stale” Github Actiontopic: transforms and scales
Milestone
Metadata
Metadata
Assignees
Labels
Difficulty: Hardhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issueshttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesNew featurekeepItems to be ignored by the “Stale” Github ActionItems to be ignored by the “Stale” Github Actiontopic: transforms and scales
Bug report
Bug summary
Transform chaining seems to not be possible in some cases. As an example
gives a different result than
although those are linear transformations, which can easily be inverted, so one would expect
The following example shows that this is not the case.
Code for reproduction
The code should create a red and a green line from [0,0] to [1,1] in axes cooridinates. Yet the red line is somehow fixed to its initial prosition and forgets about its transform.
Actual outcome
Expected outcome
A plot with red and green line overlapping.
Now it may well be that I'm completely misunderstanding the transform chaining in which case it would probably be good to update the documentation.
Matplotlib version