Visualization in Python with matplotlib
Adding One More Line
Quite good! That's a good visualization! Let's expand our chart with new data.
We may want to compare the emission levels by displaying several lines on a single chart. It can be easily done by calling the
.plot() method of
Axes object multiple times. For instance, if you call
ax.plot() two times, you will get two lines on one chart. By default, the first line will be blue, the second one will be orange.