From the course: Python for Data Science and Machine Learning Essential Training Part 1
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Creating labels and annotations - Python Tutorial
From the course: Python for Data Science and Machine Learning Essential Training Part 1
Creating labels and annotations
- [Instructor] Labels and annotation add a deeper layer of context to a plot, enabling the plot to convey extra meaning to its viewers. In this section, I'm going to show you how to label plot features, add a legend to your plot, and annotate features on your plot. But before that, let me give you an example of where this comes in handy. Data journalists often add a lot of context and annotation to their visualizations in order to add and augment the story they're telling. For example, imagine you're a data journalist covering a story of tourism in central Florida. You'd use a simple line chart to show the number of travelers over time. But if you're telling a story about the success of a grand opening of a new theme park, you may want to add some text about how many visitors came to the grand opening. You then may also want to add a pointer that ties that text into the date of the park's grand opening. There are two methods for labeling and annotating. Again, the functional and…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Introduction to the matplotlib and Seaborn libraries17m 49s
-
(Locked)
Creating standard data graphics10m 25s
-
(Locked)
Defining elements of a plot12m 28s
-
(Locked)
Plot formatting15m 1s
-
(Locked)
Creating labels and annotations18m 49s
-
(Locked)
Visualizing time series8m 23s
-
(Locked)
Creating statistical data graphics in Seaborn14m 51s
-
(Locked)
-
-
-
-
-