Showing the data on your graphs is important; but the person reading your results won't know what they mean unless we provide some additional cues such as the title, axes labels showing what was measured or calculated), and the units it was provided in.
In this next video, you will learn how to customize your plots so that anyone receiving your data will immediately understand what information is being conveyed by reviewing your title, axes labels, and units.
Use the trinket below to check things out while you watch the video above!
In this next exercise, you will use commands from matplotlib & pyplot to create your own plot along with its title and axes labels.
Add the correct labels under the TODO lines.
(See if you can make the Title & Labels look like the version to the right).
Step 1. Enter Your Own X & Y values
Step 2. Add a Title
Step 3. Add the X-Label
Step 4. Add the Y-Label
So much of computer programming is being able to recognize code errors and syntax problems. See if you can fix the coding errors below.
Run this code and fix the error(s) you find.