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
(10) |
2
(6) |
3
|
4
(10) |
5
(5) |
6
(5) |
7
(6) |
8
(2) |
9
(5) |
10
(7) |
11
(5) |
12
(8) |
13
(5) |
14
(7) |
15
(3) |
16
(1) |
17
(1) |
18
|
19
(1) |
20
(6) |
21
(6) |
22
(3) |
23
(3) |
24
(7) |
25
|
26
(5) |
27
(1) |
28
(3) |
29
(2) |
30
(3) |
|
|
|
Revision: 8459 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8459&view=rev Author: mdboom Date: 2010年06月23日 14:44:32 +0000 (2010年6月23日) Log Message: ----------- Add unit test to ensure that rendering complexity exceeded exception is properly propagated to Python. Modified Paths: -------------- trunk/matplotlib/lib/matplotlib/tests/test_simplification.py Modified: trunk/matplotlib/lib/matplotlib/tests/test_simplification.py =================================================================== --- trunk/matplotlib/lib/matplotlib/tests/test_simplification.py 2010年06月23日 14:43:52 UTC (rev 8458) +++ trunk/matplotlib/lib/matplotlib/tests/test_simplification.py 2010年06月23日 14:44:32 UTC (rev 8459) @@ -6,6 +6,10 @@ from pylab import * import numpy as np from matplotlib import patches, path, transforms + +from nose.tools import raises +import cStringIO + nan = np.nan Path = path.Path @@ -165,6 +169,24 @@ assert len(segs) == 1 assert segs[0][1] == Path.MOVETO +@raises(OverflowError) +def test_throw_rendering_complexity_exceeded(): + rcParams['path.simplify'] = False + + xx = np.arange(200000) + yy = np.random.rand(200000) + yy[1000] = np.nan + fig = plt.figure() + ax = fig.add_subplot(111) + ax.plot(xx, yy) + try: + fig.savefig(cStringIO.StringIO()) + except e: + raise e + else: + rcParams['path.simplify'] = True + + if __name__=='__main__': import nose nose.runmodule(argv=['-s','--with-doctest'], exit=False) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 8458 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8458&view=rev Author: mdboom Date: 2010年06月23日 14:43:52 +0000 (2010年6月23日) Log Message: ----------- Uses doubles for rectangle clipping everywhere in the Agg backend. Modified Paths: -------------- trunk/matplotlib/src/_backend_agg.h trunk/matplotlib/src/_image.cpp Modified: trunk/matplotlib/src/_backend_agg.h =================================================================== --- trunk/matplotlib/src/_backend_agg.h 2010年06月23日 14:18:05 UTC (rev 8457) +++ trunk/matplotlib/src/_backend_agg.h 2010年06月23日 14:43:52 UTC (rev 8458) @@ -55,7 +55,7 @@ typedef agg::renderer_base<pixfmt> renderer_base; typedef agg::renderer_scanline_aa_solid<renderer_base> renderer_aa; typedef agg::renderer_scanline_bin_solid<renderer_base> renderer_bin; -typedef agg::rasterizer_scanline_aa<> rasterizer; +typedef agg::rasterizer_scanline_aa<agg::rasterizer_sl_clip_dbl> rasterizer; typedef agg::scanline_p8 scanline_p8; typedef agg::scanline_bin scanline_bin; Modified: trunk/matplotlib/src/_image.cpp =================================================================== --- trunk/matplotlib/src/_image.cpp 2010年06月23日 14:18:05 UTC (rev 8457) +++ trunk/matplotlib/src/_image.cpp 2010年06月23日 14:43:52 UTC (rev 8458) @@ -39,7 +39,7 @@ typedef agg::pixfmt_rgba32 pixfmt; typedef agg::renderer_base<pixfmt> renderer_base; typedef agg::span_interpolator_linear<> interpolator_type; -typedef agg::rasterizer_scanline_aa<> rasterizer; +typedef agg::rasterizer_scanline_aa<agg::rasterizer_sl_clip_dbl> rasterizer; Image::Image() : @@ -351,7 +351,7 @@ pixfmt pixf(*rbufOut); renderer_base rb(pixf); rb.clear(bg); - agg::rasterizer_scanline_aa<agg::rasterizer_sl_clip_dbl> ras; + rasterizer ras; agg::scanline_u8 sl; ras.clip_box(0, 0, numcols, numrows); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 8457 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8457&view=rev Author: mdboom Date: 2010年06月23日 14:18:05 +0000 (2010年6月23日) Log Message: ----------- Do image clipping of images in doubles rather than ints -- prevents the "disappearing image when zooming in too far" problem. Modified Paths: -------------- trunk/matplotlib/src/_image.cpp Modified: trunk/matplotlib/src/_image.cpp =================================================================== --- trunk/matplotlib/src/_image.cpp 2010年06月22日 19:30:57 UTC (rev 8456) +++ trunk/matplotlib/src/_image.cpp 2010年06月23日 14:18:05 UTC (rev 8457) @@ -29,6 +29,7 @@ #include "agg_span_image_filter_rgb.h" #include "agg_span_image_filter_rgba.h" #include "agg_span_interpolator_linear.h" +#include "agg_rasterizer_sl_clip.h" #include "util/agg_color_conv_rgb8.h" #include "_image.h" #include "mplutils.h" @@ -350,7 +351,7 @@ pixfmt pixf(*rbufOut); renderer_base rb(pixf); rb.clear(bg); - agg::rasterizer_scanline_aa<> ras; + agg::rasterizer_scanline_aa<agg::rasterizer_sl_clip_dbl> ras; agg::scanline_u8 sl; ras.clip_box(0, 0, numcols, numrows); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.