Python How Can I Plot Histogram Like This Stack Overflow

Python How Can I Plot Histogram Like This Stack Overflow