- Matplotlib 3.0 Cookbook
- Srinivasa Rao Poladi
- 77字
- 2021-08-13 15:15:45
Getting ready
Import the matplotlib.pyplot, numpy , and pandas packages that are required to read the input files:
- Import the pyplot library with the plt synonym:
import matplotlib.pyplot as plt
- Import the numpy library with the np synonym. The numpy library can manage n-dimensional arrays, supporting all mathematical operations on these arrays:
import numpy as np
- Import the pandas package with pd as a synonym:
import pandas as pd