Skip to content

Commit 57f12bc

Browse files
committed
Fixed dpi in exercise 2
1 parent 462519d commit 57f12bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ The defaults can be specified in the resource file and will be used most of the
421421
time. Only the number of the figure is frequently changed.
422422

423423
When you work with the GUI you can close a figure by clicking on the x in the
424-
upper right corner. But you can also close a figure programmatically by calling
424+
upper right corner. You can also close a figure programmatically by calling
425425
close. Depending on the argument it closes (1) the current figure (no
426426
argument), (2) a specific figure (figure number or figure instance as
427427
argument), or (3) all figures (all as argument).

scripts/exercice_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import matplotlib.pyplot as plt
99

1010
# Create a new figure of size 8x6 points, using 100 dots per inch
11-
plt.figure(figsize=(8,6), dpi=80)
11+
plt.figure(figsize=(8,6), dpi=100)
1212

1313
# Create a new subplot from a grid of 1x1
1414
plt.subplot(111)

0 commit comments

Comments
 (0)