Skip to content

Commit 94abf2f

Browse files
committed
Clip all objects in Agg to the figure
svn path=/branches/v1_0_maint/; revision=8792
1 parent c4d1392 commit 94abf2f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/_backend_agg.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,8 @@ RendererAgg::set_clipbox(const Py::Object& cliprect, R& rasterizer)
431431
{
432432
rasterizer.clip_box(int(mpl_round(l)), height - int(mpl_round(b)),
433433
int(mpl_round(r)), height - int(mpl_round(t)));
434+
} else {
435+
rasterizer.clip_box(0, 0, width, height);
434436
}
435437

436438
_VERBOSE("RendererAgg::set_clipbox done");

0 commit comments

Comments
 (0)