From: <md...@us...> - 2008-06-26 12:28:51
|
Revision: 5675 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5675&view=rev Author: mdboom Date: 2008-06-26 05:28:48 -0700 (Thu, 26 Jun 2008) Log Message: ----------- Fix direction of horizontal and vertical hatching. Modified Paths: -------------- branches/v0_91_maint/CHANGELOG branches/v0_91_maint/lib/matplotlib/backends/backend_ps.py Modified: branches/v0_91_maint/CHANGELOG =================================================================== --- branches/v0_91_maint/CHANGELOG 2008-06-25 22:03:15 UTC (rev 5674) +++ branches/v0_91_maint/CHANGELOG 2008-06-26 12:28:48 UTC (rev 5675) @@ -1,3 +1,5 @@ +2008-06-26 Fix direction of horizontal/vertical hatches - MGD + =============================================================== 2008-06-22 Released 0.91.4 at revision 5638 Modified: branches/v0_91_maint/lib/matplotlib/backends/backend_ps.py =================================================================== --- branches/v0_91_maint/lib/matplotlib/backends/backend_ps.py 2008-06-25 22:03:15 UTC (rev 5674) +++ branches/v0_91_maint/lib/matplotlib/backends/backend_ps.py 2008-06-26 12:28:48 UTC (rev 5675) @@ -254,12 +254,12 @@ hatchr cvi hatchgap idiv hatchgap mul {hatcht moveto 0 hatchb hatcht sub rlineto} for - stroke + strokeCHAN grestore """ % (angle, 12/density) self._pswriter.write("gsave\n") - self._pswriter.write(do_hatch(0, hatches['horiz'])) - self._pswriter.write(do_hatch(90, hatches['vert'])) + self._pswriter.write(do_hatch(90, hatches['horiz'])) + self._pswriter.write(do_hatch(0, hatches['vert'])) self._pswriter.write(do_hatch(45, hatches['diag1'])) self._pswriter.write(do_hatch(-45, hatches['diag2'])) self._pswriter.write("grestore\n") This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |