Simple Panel script is not appearing on 3d view I followed a tutorial on youtube showing how to make a simple panel on blender, i copied it one to one but the panel is no nowhere to be seen. The script runs fine without errors and I have no idea of what is wrong.
I'm using blender 2.90 following this tutorial:
import bpy


class TestPanel(bpy.types.Panel):
    bl_label = &quot;Test Panel&quot;
    bl_idname = &quot;PT_TestPanel&quot;
    bl_space_type = 'VIEW_3D'
    bl_region_type = 'UI'
    bl_category = 'My 1st Addon'
    
    
    def draw(self, context):
        layout = self.layout
        
        row = layout.row()
        row.label(text = &quot;Sample Text&quot;)
        
        
def register():
    bpy.utils.register_class(TestPanel)
    
def unregister():
    bpy.utils.unregister_class(TestPanel)


if __name__ == &quot;__main_&quot;:
    register()
You are missing one underscore under the registration above the last line in __main__
It reads
if __name__ == &quot;__main_&quot;:
    register()

but is supposed to read
if __name__ == &quot;__main__&quot;:
    register()