<jupyter_start><jupyter_text>matplotlib is a data visualization and graphical plotting library for python.   Matplotlib   pyplot is submodule of matplotlib and imported as plt.<jupyter_code>import matplotlib.pyplot as plt
import numpy as np
%matplotlib inline
np.array([1,2,3])
x=np.array([0,10])
y=np.array([0,100])
plt.plot(x, y, marker='*')
plt.show()
p=np.array([25,50,75,100])
q=np.array([100,200,300,400])
plt.plot(x,y)          # title for plot
plt.title('data')
plt.xlabel('average')  # label on x-axis
plt.ylabel('mean')     # label on y-axis
plt.show()<jupyter_output><empty_output><jupyter_text>linspace is used to create an evenly spaced sequence in a specified interval.syntax: numpy.linspace(*start, stop,num, endpoint=True, retstep=False, dtype=None,axis=0*)start, stop and num are the positional arguments and endpoint, retstep, dtypeand axis are keyword arguments .<jupyter_code>a=np.linspace(1,10, endpoint=False),

x=np.linspace(0,2*np.pi, 100)
y=np.sin(x)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14029850746268657, 'fraction_numerical': 0.03980099502487562, 'mean_word_length': 6.397058823529412, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '317857', 'license': 'MIT', 'n_tokens_mistral': 397, 'n_tokens_neox': 366, 'n_words': 90, 'path': 'matplotlib/matplotlib.ipynb', 'repo_name': 'DharmendraGITHB/DataScience', 'size': '1005'}