def line_activity(self, filename):
        activity = Activity()
        activity.load(filename)
        activity.render()
%activity FILENAME - run a widget-based activity 
dataset/ETHPy150Open Calysto/metakernel/metakernel/magics/activity_magic.py/ActivityMagic.line_activity