from sectionproperties.pre.library import rectangular_section

rectangular_section(d=100, b=50).plot_geometry()