Learn practical skills, build real-world projects, and advance your career
import matplotlib.pyplot as plt
import seaborn as sns
import numpy as np
import pandas as pd
%matplotlib inline

LINE CHART

The simplest form of chart.

yield_apples = [0.895, 0.91, 0.919, 0.926, 0.929, 0.931]
plt.plot(yield_apples)
[<matplotlib.lines.Line2D at 0xb90d70>]
Notebook Image

We can include a semicolon (;) at the end of the last statement in the cell to avoiding showing the output and just display the graph.