Skip to content

Commit

Permalink
Merge pull request #4089 from mdboom/cairo-sliders
Browse files Browse the repository at this point in the history
Fix : Bug introduced in 91725d8

fix #4074 Move over more internal parameters in 
call to Path._fast_from_codes_and_verts
  • Loading branch information
tacaswell committed Feb 11, 2015
2 parents 9e700a9 + 34a85ed commit 229d3a4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/matplotlib/transforms.py
Expand Up @@ -1422,7 +1422,8 @@ def transform_path_non_affine(self, path):
"""
x = self.transform_non_affine(path.vertices)
return Path._fast_from_codes_and_verts(x, path.codes,
{'interpolation_steps': path._interpolation_steps})
{'interpolation_steps': path._interpolation_steps,
'should_simplify': path.should_simplify})

def transform_angles(self, angles, pts, radians=False, pushoff=1e-5):
"""
Expand Down Expand Up @@ -2628,8 +2629,11 @@ def _revalidate(self):
self._transformed_path = \
self._transform.transform_path_non_affine(self._path)
self._transformed_points = \
Path._fast_from_codes_and_verts(self._transform.transform_non_affine(self._path.vertices),
None, {'interpolation_steps': self._path._interpolation_steps})
Path._fast_from_codes_and_verts(
self._transform.transform_non_affine(self._path.vertices),
None,
{'interpolation_steps': self._path._interpolation_steps,
'should_simplify': self._path.should_simplify})
self._invalid = 0

def get_transformed_points_and_affine(self):
Expand Down

0 comments on commit 229d3a4

Please sign in to comment.