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 cbd7523 commit b9e94e4Copy full SHA for b9e94e4
1 file changed
lib/matplotlib/backend_bases.py
@@ -668,7 +668,8 @@ def _draw_disabled(self):
668
cost of the draw_XYZ calls on the canvas.
669
"""
670
no_ops = {
671
- meth_name: lambda *args, **kwargs: None
+ meth_name: functools.update_wrapper(lambda *args, **kwargs: None,
672
+ getattr(RendererBase, meth_name))
673
for meth_name in dir(RendererBase)
674
if (meth_name.startswith("draw_")
675
or meth_name in ["open_group", "close_group"])
0 commit comments