<jupyter_start><jupyter_text>Pyplot-style<jupyter_code>x = np.linspace(0, 2, 100)
x
plt.plot(x, x, label='linear')
plt.plot(x, x**2, label='quadratic')  # etc.
plt.plot(x, x**3, label='cubic')
plt.xlabel('x label')
plt.ylabel('y label')
plt.title("Simple Plot")
plt.grid(True,color='k')
plt.legend()
plt.plot(x, x,'g', label='linear',linewidth=9)#x,x,'colour,label='**',linewidth=number
plt.plot(x, x**2, label='quadratic',linewidth=9)  # etc.
plt.plot(x, x**3, label='cubic',linewidth=9)
plt.plot(x, x**4,'y', label='polynomial',linewidth=9)
plt.xlabel('x label')
plt.ylabel('y label')
plt.title("Simple Plot")
plt.grid(True,color='k')
plt.legend()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.24005891016200295, 'fraction_numerical': 0.020618556701030927, 'mean_word_length': 8.714285714285714, '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': '265324', 'license': 'MIT', 'n_tokens_mistral': 316, 'n_tokens_neox': 292, 'n_words': 44, 'path': '.ipynb_checkpoints/My Matplotlib-checkpoint.ipynb', 'repo_name': 'Deoduce2me/ADS-Assignment-1', 'size': '679'}