You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(115) |
Aug
(120) |
Sep
(137) |
Oct
(170) |
Nov
(461) |
Dec
(263) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
(120) |
Feb
(74) |
Mar
(35) |
Apr
(74) |
May
(245) |
Jun
(356) |
Jul
(240) |
Aug
(115) |
Sep
(78) |
Oct
(225) |
Nov
(98) |
Dec
(271) |
2009 |
Jan
(132) |
Feb
(84) |
Mar
(74) |
Apr
(56) |
May
(90) |
Jun
(79) |
Jul
(83) |
Aug
(296) |
Sep
(214) |
Oct
(76) |
Nov
(82) |
Dec
(66) |
2010 |
Jan
(46) |
Feb
(58) |
Mar
(51) |
Apr
(77) |
May
(58) |
Jun
(126) |
Jul
(128) |
Aug
(64) |
Sep
(50) |
Oct
(44) |
Nov
(48) |
Dec
(54) |
2011 |
Jan
(68) |
Feb
(52) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
1
(7) |
2
(14) |
3
(6) |
4
(8) |
5
(6) |
6
(3) |
7
(2) |
8
(22) |
9
(9) |
10
(23) |
11
(14) |
12
(22) |
13
(7) |
14
(3) |
15
(22) |
16
(13) |
17
(18) |
18
(21) |
19
(9) |
20
|
21
(3) |
22
(6) |
23
(5) |
24
|
25
|
26
(3) |
27
|
28
(1) |
29
(11) |
30
(1) |
31
(12) |
|
|
|
Revision: 6690 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6690&view=rev Author: leejjoon Date: 2008年12月21日 04:14:20 +0000 (2008年12月21日) Log Message: ----------- Merged revisions 6688-6689 via svnmerge from https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v0_98_5_maint ........ r6688 | leejjoon | 2008年12月20日 22:46:05 -0500 (2008年12月20日) | 1 line fix hatch bug in pdf backend ........ r6689 | leejjoon | 2008年12月20日 23:07:26 -0500 (2008年12月20日) | 1 line fix dpi dependent offset of Shadow ........ Modified Paths: -------------- trunk/matplotlib/CHANGELOG trunk/matplotlib/examples/pylab_examples/hatch_demo.py trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py trunk/matplotlib/lib/matplotlib/patches.py Property Changed: ---------------- trunk/matplotlib/ Property changes on: trunk/matplotlib ___________________________________________________________________ Modified: svnmerge-integrated - /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-6685 + /branches/v0_91_maint:1-6428 /branches/v0_98_5_maint:1-6689 Modified: trunk/matplotlib/CHANGELOG =================================================================== --- trunk/matplotlib/CHANGELOG 2008年12月21日 04:07:26 UTC (rev 6689) +++ trunk/matplotlib/CHANGELOG 2008年12月21日 04:14:20 UTC (rev 6690) @@ -1,8 +1,13 @@ +2008年12月20日 fix the dpi-dependent offset of Shadow. - JJL + +2008年12月20日 fix the hatch bug in the pdf backend. minor update + in docs and example - JJL + 2008年12月19日 Add axes_locator attribute in Axes. Two examples are added. - JJL -2008年12月19日 Update Axes.legend documnetation. /api/api_changes.rst is also - updated to describe chages in keyword parameters. +2008年12月19日 Update Axes.legend documnetation. /api/api_changes.rst is also + updated to describe chages in keyword parameters. Issue a warning if old keyword parameters are used. - JJL 2008年12月18日 add new arrow style, a line + filled triangles. -JJL Modified: trunk/matplotlib/examples/pylab_examples/hatch_demo.py =================================================================== --- trunk/matplotlib/examples/pylab_examples/hatch_demo.py 2008年12月21日 04:07:26 UTC (rev 6689) +++ trunk/matplotlib/examples/pylab_examples/hatch_demo.py 2008年12月21日 04:14:20 UTC (rev 6690) @@ -1,18 +1,25 @@ """ -Hatching (pattern filled polygons) is supported currently on PS +Hatching (pattern filled polygons) is supported currently on PS and PDF backend only. See the set_patch method in http://matplotlib.sf.net/matplotlib.patches.html#Patch for details """ -import matplotlib -matplotlib.use('PS') -from pylab import figure +import matplotlib.pyplot as plt -fig = figure() -ax = fig.add_subplot(111) -bars = ax.bar(range(1,5), range(1,5), color='gray', ecolor='black') +fig = plt.figure() +ax1 = fig.add_subplot(121) +ax1.annotate("Hatch is only supported in the PS and PDF backend", (1, 1), + xytext=(0, 5), + xycoords="axes fraction", textcoords="offset points", ha="center" + ) +ax1.bar(range(1,5), range(1,5), color='gray', ecolor='black', hatch="/") + +ax2 = fig.add_subplot(122) +bars = ax2.bar(range(1,5), range(1,5), color='gray', ecolor='black') + patterns = ('/', '+', 'x', '\\') for bar, pattern in zip(bars, patterns): bar.set_hatch(pattern) -fig.savefig('hatch4.ps') + +plt.show() Modified: trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py =================================================================== --- trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py 2008年12月21日 04:07:26 UTC (rev 6689) +++ trunk/matplotlib/lib/matplotlib/backends/backend_pdf.py 2008年12月21日 04:14:20 UTC (rev 6690) @@ -942,7 +942,7 @@ def hatchPattern(self, lst): pattern = self.hatchPatterns.get(lst, None) if pattern is not None: - return pattern[0] + return pattern name = Name('H%d' % self.nextHatch) self.nextHatch += 1 @@ -1233,7 +1233,7 @@ def get_image_magnification(self): return self.image_dpi/72.0 - + def draw_image(self, x, y, im, bbox, clippath=None, clippath_trans=None): # MGDTODO: Support clippath here gc = self.new_gc() Modified: trunk/matplotlib/lib/matplotlib/patches.py =================================================================== --- trunk/matplotlib/lib/matplotlib/patches.py 2008年12月21日 04:07:26 UTC (rev 6689) +++ trunk/matplotlib/lib/matplotlib/patches.py 2008年12月21日 04:14:20 UTC (rev 6690) @@ -247,12 +247,12 @@ CURRENT LIMITATIONS: - 1. Hatching is supported in the PostScript backend only. + 1. Hatching is supported in the PostScript and the PDF backend only. 2. Hatching is done with solid black lines of width 0. - ACCEPTS: [ '/' | '\\' | '|' | '-' | '#' | 'x' ] + ACCEPTS: [ '/' | '\\' | '|' | '-' | '#' | 'x' ] (ps & pdf backend only) """ self._hatch = h @@ -373,7 +373,7 @@ self.patch = patch self.props = props self._ox, self._oy = ox, oy - self._update_transform() + self._shadow_transform = transforms.Affine2D() self._update() __init__.__doc__ = cbook.dedent(__init__.__doc__) % artist.kwdocd @@ -391,20 +391,20 @@ self.set_facecolor((r,g,b,0.5)) self.set_edgecolor((r,g,b,0.5)) - def _update_transform(self): - self._shadow_transform = transforms.Affine2D().translate(self._ox, self._oy) + def _update_transform(self, renderer): + ox = renderer.points_to_pixels(self._ox) + oy = renderer.points_to_pixels(self._oy) + self._shadow_transform.clear().translate(ox, oy) def _get_ox(self): return self._ox def _set_ox(self, ox): self._ox = ox - self._update_transform() def _get_oy(self): return self._oy def _set_oy(self, oy): self._oy = oy - self._update_transform() def get_path(self): return self.patch.get_path() @@ -412,6 +412,10 @@ def get_patch_transform(self): return self.patch.get_patch_transform() + self._shadow_transform + def draw(self, renderer): + self._update_transform(renderer) + Patch.draw(self, renderer) + class Rectangle(Patch): """ Draw a rectangle with lower left at *xy* = (*x*, *y*) with This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 6689 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6689&view=rev Author: leejjoon Date: 2008年12月21日 04:07:26 +0000 (2008年12月21日) Log Message: ----------- fix dpi dependent offset of Shadow Modified Paths: -------------- branches/v0_98_5_maint/CHANGELOG branches/v0_98_5_maint/lib/matplotlib/patches.py Modified: branches/v0_98_5_maint/CHANGELOG =================================================================== --- branches/v0_98_5_maint/CHANGELOG 2008年12月21日 03:46:05 UTC (rev 6688) +++ branches/v0_98_5_maint/CHANGELOG 2008年12月21日 04:07:26 UTC (rev 6689) @@ -1,3 +1,5 @@ +2008年12月20日 fix the dpi-dependent offset of Shadow. - JJL + 2008年12月20日 fix the hatch bug in the pdf backend. minor update in docs and example - JJL Modified: branches/v0_98_5_maint/lib/matplotlib/patches.py =================================================================== --- branches/v0_98_5_maint/lib/matplotlib/patches.py 2008年12月21日 03:46:05 UTC (rev 6688) +++ branches/v0_98_5_maint/lib/matplotlib/patches.py 2008年12月21日 04:07:26 UTC (rev 6689) @@ -372,7 +372,7 @@ self.patch = patch self.props = props self._ox, self._oy = ox, oy - self._update_transform() + self._shadow_transform = transforms.Affine2D() self._update() __init__.__doc__ = cbook.dedent(__init__.__doc__) % artist.kwdocd @@ -390,20 +390,20 @@ self.set_facecolor((r,g,b,0.5)) self.set_edgecolor((r,g,b,0.5)) - def _update_transform(self): - self._shadow_transform = transforms.Affine2D().translate(self._ox, self._oy) + def _update_transform(self, renderer): + ox = renderer.points_to_pixels(self._ox) + oy = renderer.points_to_pixels(self._oy) + self._shadow_transform.clear().translate(ox, oy) def _get_ox(self): return self._ox def _set_ox(self, ox): self._ox = ox - self._update_transform() def _get_oy(self): return self._oy def _set_oy(self, oy): self._oy = oy - self._update_transform() def get_path(self): return self.patch.get_path() @@ -411,6 +411,10 @@ def get_patch_transform(self): return self.patch.get_patch_transform() + self._shadow_transform + def draw(self, renderer): + self._update_transform(renderer) + Patch.draw(self, renderer) + class Rectangle(Patch): """ Draw a rectangle with lower left at *xy* = (*x*, *y*) with This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 6688 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6688&view=rev Author: leejjoon Date: 2008年12月21日 03:46:05 +0000 (2008年12月21日) Log Message: ----------- fix hatch bug in pdf backend Modified Paths: -------------- branches/v0_98_5_maint/CHANGELOG branches/v0_98_5_maint/examples/pylab_examples/hatch_demo.py branches/v0_98_5_maint/lib/matplotlib/backends/backend_pdf.py branches/v0_98_5_maint/lib/matplotlib/patches.py Modified: branches/v0_98_5_maint/CHANGELOG =================================================================== --- branches/v0_98_5_maint/CHANGELOG 2008年12月19日 22:48:11 UTC (rev 6687) +++ branches/v0_98_5_maint/CHANGELOG 2008年12月21日 03:46:05 UTC (rev 6688) @@ -1,5 +1,8 @@ -2008年12月19日 Update Axes.legend documnetation. /api/api_changes.rst is also - updated to describe chages in keyword parameters. +2008年12月20日 fix the hatch bug in the pdf backend. minor update + in docs and example - JJL + +2008年12月19日 Update Axes.legend documnetation. /api/api_changes.rst is also + updated to describe chages in keyword parameters. Issue a warning if old keyword parameters are used. - JJL ======================================================================= Modified: branches/v0_98_5_maint/examples/pylab_examples/hatch_demo.py =================================================================== --- branches/v0_98_5_maint/examples/pylab_examples/hatch_demo.py 2008年12月19日 22:48:11 UTC (rev 6687) +++ branches/v0_98_5_maint/examples/pylab_examples/hatch_demo.py 2008年12月21日 03:46:05 UTC (rev 6688) @@ -1,18 +1,25 @@ """ -Hatching (pattern filled polygons) is supported currently on PS +Hatching (pattern filled polygons) is supported currently on PS and PDF backend only. See the set_patch method in http://matplotlib.sf.net/matplotlib.patches.html#Patch for details """ -import matplotlib -matplotlib.use('PS') -from pylab import figure +import matplotlib.pyplot as plt -fig = figure() -ax = fig.add_subplot(111) -bars = ax.bar(range(1,5), range(1,5), color='gray', ecolor='black') +fig = plt.figure() +ax1 = fig.add_subplot(121) +ax1.annotate("Hatch is only supported in the PS and PDF backend", (1, 1), + xytext=(0, 5), + xycoords="axes fraction", textcoords="offset points", ha="center" + ) +ax1.bar(range(1,5), range(1,5), color='gray', ecolor='black', hatch="/") + +ax2 = fig.add_subplot(122) +bars = ax2.bar(range(1,5), range(1,5), color='gray', ecolor='black') + patterns = ('/', '+', 'x', '\\') for bar, pattern in zip(bars, patterns): bar.set_hatch(pattern) -fig.savefig('hatch4.ps') + +plt.show() Modified: branches/v0_98_5_maint/lib/matplotlib/backends/backend_pdf.py =================================================================== --- branches/v0_98_5_maint/lib/matplotlib/backends/backend_pdf.py 2008年12月19日 22:48:11 UTC (rev 6687) +++ branches/v0_98_5_maint/lib/matplotlib/backends/backend_pdf.py 2008年12月21日 03:46:05 UTC (rev 6688) @@ -942,7 +942,7 @@ def hatchPattern(self, lst): pattern = self.hatchPatterns.get(lst, None) if pattern is not None: - return pattern[0] + return pattern name = Name('H%d' % self.nextHatch) self.nextHatch += 1 @@ -1233,7 +1233,7 @@ def get_image_magnification(self): return self.image_dpi/72.0 - + def draw_image(self, x, y, im, bbox, clippath=None, clippath_trans=None): # MGDTODO: Support clippath here gc = self.new_gc() Modified: branches/v0_98_5_maint/lib/matplotlib/patches.py =================================================================== --- branches/v0_98_5_maint/lib/matplotlib/patches.py 2008年12月19日 22:48:11 UTC (rev 6687) +++ branches/v0_98_5_maint/lib/matplotlib/patches.py 2008年12月21日 03:46:05 UTC (rev 6688) @@ -247,12 +247,12 @@ CURRENT LIMITATIONS: - 1. Hatching is supported in the PostScript backend only. + 1. Hatching is supported in the PostScript and the PDF backend only. 2. Hatching is done with solid black lines of width 0. - ACCEPTS: [ '/' | '\\' | '|' | '-' | '#' | 'x' ] + ACCEPTS: [ '/' | '\\' | '|' | '-' | '#' | 'x' ] (ps & pdf backend only) """ self._hatch = h This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.