<jupyter_start><jupyter_text>Matplotlib Tutorial: Subplots<jupyter_code>%matplotlib inline
import matplotlib.pyplot as plt
year=[2014,2015,2016,2017]
income=[4000,4500,5300,4600]
expense=[2800,3000,2800,3400]

plt.subplot(2,1,1)
# income.set_title('Income')
plt.bar(year,income)


# plt.subplot(2,1,2)
# plt.bar(year,expense,color='green')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16531165311653118, 'fraction_numerical': 0.14634146341463414, 'mean_word_length': 12.214285714285714, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '361854', 'license': 'MIT', 'n_tokens_mistral': 196, 'n_tokens_neox': 161, 'n_words': 16, 'path': "Program's_Contributed_By_Contributors/AI-Summer-Course/py-master/matpltlib/10_subplots.ipynb", 'repo_name': 'siddharthdeo99/Hacktoberfest2k21', 'size': '369'}