def unregister(): try: bpy.utils .unregister_class(ColoringPanel) bpy.utils .unregister_class(ColorCompartment) except: pass