in Jupyter notebook i have loaded bpy module :
import bpy
with no problem. But if i load the 3D view :
bpy.context.area.ui_type = 'VIEW_3D'
give me this error :
AttributeError: 'NoneType' object has no attribute 'ui_type'
How to solve this?