Setting the background to white

We can also set the plot's background to solid white, and with no grid, with the following code:

sns.set()
sns.set_style("white")
sns.swarmplot(x='country', y='wine_servings', data=df);

The output is as follows:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.180.70