Remove or hide panels from add on.

try this:


import bpy, bpy_types
bpy.utils.unregister_class(bpy_types.bpy_types.SCENE_PT_physics)

for example to remove the gravity panel

By the way, such things can be discovered by using the console auto-complete CTRL+SPACE.

so, in the console (which you can show with [ctrl]+[F4]),
you first need to

import bpy_types

then
type bpy_types.bpy_types. and then ctrl+space to see a humongous list.