8000 Update · matplotlib/matplotlib@bf7213a · GitHub
[go: up one dir, main page]

Skip to content

Commit bf7213a

Browse files
committed
Update
1 parent 6b46b8c commit bf7213a

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/matplotlib/backends/backend_svg.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -696,16 +696,6 @@ def draw_gouraud_triangle(self, gc, points, colors, trans):
696696
values='1 0 0 0 0 \n0 1 0 0 0 \n0 0 1 0 0' +
697697
' \n1 1 1 1 0 \n0 0 0 0 1 ')
698698
writer.end('filter')
699-
# feColorMatrix filter to correct opacity
700-
writer.start(
701-
'filter',
702-
id='colorMat')
703-
writer.element(
704-
'feColorMatrix',
705-
attrib={'type': 'matrix'},
706-
values='1 0 0 0 0 \n0 1 0 0 0 \n0 0 1 0 0' +
707-
' \n1 1 1 1 0 \n0 0 0 0 1 ')
708-
writer.end('filter')
709699

710700
avg_color = np.sum(colors[:, :], axis=0) / 3.0
711701
# Just skip fully-transparent triangles

0 commit comments

Comments
 (0)
0