Skip to content

Commit

Permalink
Merge pull request #2968 from mpyrozhok/issue-2964
Browse files Browse the repository at this point in the history
BUG: Fix the triangular marker rendering error.  Closes #2964
  • Loading branch information
tacaswell committed Apr 11, 2014
2 parents 9466260 + c09692e commit 8ada91f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
@@ -1,3 +1,6 @@
2014-04-10 Fixed the triangular marker rendering error. The "Up" triangle was
rendered instead of "Right" triangle and vice-versa.

2014-04-08 Fixed a bug in parasite_axes.py by making a list out
of a generator at line 263.

Expand Down
4 changes: 2 additions & 2 deletions lib/matplotlib/markers.py
Expand Up @@ -725,7 +725,7 @@ def _set_tri_down(self):
self._path = self._tri_path

def _set_tri_up(self):
self._transform = Affine2D().scale(0.5).rotate_deg(90)
self._transform = Affine2D().scale(0.5).rotate_deg(180)
self._snap_threshold = 5.0
self._filled = False
self._path = self._tri_path
Expand All @@ -737,7 +737,7 @@ def _set_tri_left(self):
self._path = self._tri_path

def _set_tri_right(self):
self._transform = Affine2D().scale(0.5).rotate_deg(180)
self._transform = Affine2D().scale(0.5).rotate_deg(90)
self._snap_threshold = 5.0
self._filled = False
self._path = self._tri_path
Expand Down

0 comments on commit 8ada91f

Please sign in to comment.