Changing the Transparency
00:00 Changing the transparency. One of the data points for the orange drinks has disappeared. There should be six orange drinks, but only five round markers can be seen in the figure.
00:12 One of the cereal bar data points is hiding an orange drink data point. This is often the case when you have data which contains clusters of points which partially or fully overlap each other.
You can fix this visualization problem by making the data points partially transparent using the
alpha value of both sets of markers has been set to
0.5, which means they’re semi-transparent. You can now see all the data points in this plot, including those that coincide.
00:53 The following code also adds a title and other labels to the plot to complete the figure with more information about what’s being displayed.
01:49 Here, you can see the updated scatter plot with title and annotations. Now that you know how to customize markers, in the next section of the course, you’ll go deeper into customization, learning how to alter the colormap and the plot style.
Become a Member to join the conversation.