from sectionproperties.pre.library import elliptical_hollow_section

elliptical_hollow_section(d_x=50, d_y=25, t=2, n=64).plot_geometry()