October 2018
Beginner to intermediate
676 pages
18h 30m
English
Normally, Matplotlib plots and figures have a white background by default, which can be changed to any color we want using the facecolor argument. If we have to embed these figures in any to any other application, this background color will carry forward. However, the Matplotlib savefig() method gives an option to save figures without this background color, using a transparent argument. In this recipe, we will learn how to use this option.
Read now
Unlock full access