Skip to content

Commit

Permalink
Gouraud Triangle SVG tests
Browse files Browse the repository at this point in the history
  • Loading branch information
avinashmnit30 committed Jun 6, 2018
1 parent 356ce07 commit e9e92bf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/matplotlib/backends/backend_svg.py
Expand Up @@ -732,7 +732,6 @@ def draw_gouraud_triangle(self, gc, points, colors, trans):
offset='0',
style=generate_css({'stop-color': rgb2hex(c),
'stop-opacity': short_float_fmt(0)}))

writer.end('linearGradient')

# triangle formation using "path"
Expand Down Expand Up @@ -803,7 +802,6 @@ def draw_gouraud_triangle(self, gc, points, colors, trans):
'fill': 'url(#GR%x_2)' % self._n_gradients,
'filter': 'url(#Gf%x)' % self._n_gradients,
'shape-rendering': "crispEdges"})

writer.end('g')

self._n_gradients += 1
Expand Down

0 comments on commit e9e92bf

Please sign in to comment.