rootpy.context.preserve_current_canvas

rootpy.context.preserve_current_canvas(*args, **kwds)[source]

Context manager which ensures that the current canvas remains the current canvas when the context is left.