How to make frequency polygon with python? And is it used in industry?

How to make frequency polygon with python? And is it used in industry? Can we say it is similar to line plot?