Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commit 67df281

Browse files
author
Phil Elson
committed
Merge pull request matplotlib#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.
6.88 KB
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /