From 1bd1b71e2751397bde3a6694d3a19af53218dc1f Mon Sep 17 00:00:00 2001 From: VanyaBelyaev Date: Wed, 18 Dec 2024 16:03:05 +0100 Subject: [PATCH] Update Update --- ostap/core/core.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ostap/core/core.py b/ostap/core/core.py index b3462720..8fb18b6c 100644 --- a/ostap/core/core.py +++ b/ostap/core/core.py @@ -628,9 +628,7 @@ def _TO_draw_ ( obj , option = '', *args , **kwargs ) : if pad and not padg : c = pad.GetCanvas() if c : c.Update() - elif padg : - c = padg - if c : c.Update() + elif padg : padg.Update() return result