DOC: Added plt.show() at the end of each necessary block
Added plt.show() at the end of each necessary block.
Moved and reworded title section.

- [ ] closes #45772 
- [x] ~[Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature~
- [x] ~All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).~
- [x] ~Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.~

![Screenshot 2022-04-10 at 12-17-43 How do I create plots in pandas — pandas 1 5 0 dev0 661 g0442a4cb65 dirty documentation](https://user-images.githubusercontent.com/20362314/162615557-7cdceef0-d517-4fa3-88f2-77a0584b7905.png)
 thanks @ehallam 