saving . . . saved what is pylab has been deleted. what is pylab has been hidden .
what is pylab
Title
Question
Give any example of pylab program to understand easily

Python-3.4.3 Getting-started-with-IPython 03-04 min 30-40 sec 22-02-24, 9:44 p.m. 2226059@gsgcollege.edu.in

Answers:

pylab is a module in Python that combines the functionality of matplotlib (a popular plotting library) with the numerical mathematics functionality provided by numpy. Please let us know questions regarding this tutorial.                      <code>
</code>
12-03-24, 1:23 p.m. chitra@devi


import pylab
x = [1, 2, 3, 4, 5]
y = [2, 3, 5, 7, 11]
pylab.plot(x, y)
pylab.xlabel('X-axis')
pylab.ylabel('Y-axis')
pylab.title('Sample Plot')
pylab.show()
03-04-24, 6:32 p.m. mankuhemanth1@gmail.com


Log-in to answer to this question.