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 5ab47bb commit 8673b23Copy full SHA for 8673b23
1 file changed
lib/matplotlib/backend_bases.py
@@ -678,7 +678,8 @@ def _draw_disabled(self):
678
cost of the draw_XYZ calls on the canvas.
679
"""
680
no_ops = {
681
- meth_name: lambda *args, **kwargs: None
+ meth_name: functools.update_wrapper(lambda *args, **kwargs: None,
682
+ getattr(RendererBase, meth_name))
683
for meth_name in dir(RendererBase)
684
if (meth_name.startswith("draw_")
685
or meth_name in ["open_group", "close_group"])
0 commit comments