Set Figure resolution

A solution to the exercise from the last section

Here's how I went about it.

Exercise 8: Increase the resolution

  • Increase the Figure resolution to, say, 300 dots-per-inch.
  • Also, create an Axes object that fills the Figure.
  • Set the limits of the Axes to be 0 and 1 in both the x- and y-directions.

You can find instructions for changing resolution, creating Axes, and setting axis limits in these reference tutorials.

Feel free to use my solution to the last exercise as a starting point: nn_viz_07.py

Ready? Go for it.


Complete and Continue  
Discussion

1 comments