Saving a file several times
If you want to share your visualizations with others, you will need to save them into files. Matplotlib provides as way to do that, through the savefig
method of the Figure
object. In this exercise, you will save a figure several times. Each time setting the parameters to something slightly different. We have provided and already created Figure
object.
This exercise is part of the course
Introduction to Data Visualization with Matplotlib
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Show the figure
____