Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d49cfc commit ce0c5b3Copy full SHA for ce0c5b3
1 file changed
lib/matplotlib/backends/backend_wx.py
@@ -283,13 +283,13 @@ def handle_clip_rectangle(self, gc):
283
if new_bounds is not None:
284
new_bounds = new_bounds.bounds
285
gfx_ctx = gc.gfx_ctx
286
- if True or gfx_ctx._lastcliprect != new_bounds:
+ if gfx_ctx._lastcliprect != new_bounds:
287
gfx_ctx._lastcliprect = new_bounds
288
if new_bounds is None:
289
gfx_ctx.ResetClip()
290
else:
291
gfx_ctx.Clip(new_bounds[0], self.height - new_bounds[1] - new_bounds[3],
292
- new_bounds[1], new_bounds[3])
+ new_bounds[2], new_bounds[3])
293
294
#@staticmethod
295
def convert_path(gfx_ctx, tpath):
0 commit comments