Learn practical skills, build real-world projects, and advance your career
Updated 3 years ago
Data visualization
conda install -c conda-forge matplotlib
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working... done
## Package Plan ##
environment location: C:\Users\Akhil\anaconda3
added / updated specs:
- matplotlib
The following packages will be downloaded:
package | build
---------------------------|-----------------
conda-4.10.1 | py38haa244fe_0 3.1 MB conda-forge
python_abi-3.8 | 1_cp38 4 KB conda-forge
------------------------------------------------------------
Total: 3.1 MB
The following NEW packages will be INSTALLED:
python_abi conda-forge/win-64::python_abi-3.8-1_cp38
The following packages will be SUPERSEDED by a higher-priority channel:
conda pkgs/main::conda-4.10.1-py38haa95532_1 --> conda-forge::conda-4.10.1-py38haa244fe_0
Downloading and Extracting Packages
conda-4.10.1 | 3.1 MB | | 0%
conda-4.10.1 | 3.1 MB | | 1%
conda-4.10.1 | 3.1 MB | ########## | 100%
conda-4.10.1 | 3.1 MB | ########## | 100%
python_abi-3.8 | 4 KB | | 0%
python_abi-3.8 | 4 KB | ########## | 100%
Preparing transaction: ...working... done
Verifying transaction: ...working... done
Executing transaction: ...working... done
Note: you may need to restart the kernel to use updated packages.
import matplotlib.pyplot as plt
import seaborn as sns
%matplotlib inline
We start off with line chart
Line chart arethe simplest ways to visuakize data
yield_apples = [0.895,0.91,0.919,0.926,0.929,0.931]