python numpy and Matplotlib Library

Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.

Matplotlib is a plotting library for Python. It is used along with NumPy to provide an environment that is an effective open source alternative for MatLab.

how to install Numpy and Matplotlib library

cmd:

c:/> pip install numpy

c:/>pip install matplotlib


import numpy as np

import matplotlib.pyplot as plt

a=[0,1,2,3,4,6,7,8]

b=[0,3,5,7,9,11,13,15]

plt.plot(a,b)

plt.show()

python matplotlib and numpy


No comments:

Post a Comment

Latest Post

How to Generate Barcode and QR code For Our Products

 మీ products కి barcode / QR code generate చేయాలంటే OPTION 1: ONLINE (No Coding – Quick) Best for small shops / beginners 👉Free websites: T...