Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e9bc21f

Browse files
committed
Merged revisions 8792 via svnmerge from
https://matplotlib.svn.sf.net/svnroot/matplotlib/branches/v1_0_maint ........ r8792 | mdboom | 2010-11-12 09:58:33 -0500 (Fri, 12 Nov 2010) | 1 line Clip all objects in Agg to the figure ........ svn path=/trunk/matplotlib/; revision=8793
1 parent d4ec93f commit e9bc21f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/_backend_agg.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ RendererAgg::set_clipbox(const Py::Object& cliprect, R& rasterizer)
433433
{
434434
rasterizer.clip_box(int(mpl_round(l)), height - int(mpl_round(b)),
435435
int(mpl_round(r)), height - int(mpl_round(t)));
436+
} else {
437+
rasterizer.clip_box(0, 0, width, height);
436438
}
437439

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

0 commit comments

Comments
 (0)