Skip to content

Commit 67df281

Browse files
author
Phil Elson
committed
Merge pull request #723 from pelson/path_transform_cache
Caching the results of Transform.transform_path for non-affine transforms
2 parents 0a9e060 + a81545c commit 67df281

File tree

9 files changed

+807
-38
lines changed

9 files changed

+807
-38
lines changed

lib/matplotlib/backends/backend_svg.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -657,9 +657,9 @@ def draw_gouraud_triangle(self, gc, points, colors, trans):
657657

658658
writer.start(u'defs')
659659
for i in range(3):
660-
x1, y1 = points[i]
661-
x2, y2 = points[(i + 1) % 3]
662-
x3, y3 = points[(i + 2) % 3]
660+
x1, y1 = tpoints[i]
661+
x2, y2 = tpoints[(i + 1) % 3]
662+
x3, y3 = tpoints[(i + 2) % 3]
663663
c = colors[i][:]
664664

665665
if x2 == x3:
Binary file not shown.
Loading

0 commit comments

Comments
 (0)
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