November 2018
Beginner to intermediate
214 pages
5h 2m
English
By using the style module within pyplot, you can see that when we call the function available, we actually get a list containing a number of different styles. Let's assume that each of these different styles acts to change the attributes and the appearance of the plots:

So, by using the plot.style.use method, we can load up any one of these default style sheets. Using the ggplot (as shown in the preceding output) will actually mimic the appearance of the ggplot library, as you can see in the following code:
# Using stylesplt.style.use('dark_background')from scipy.ndimage.filters import ...Read now
Unlock full access