We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 609e9f4 commit 7ec8faaCopy full SHA for 7ec8faa
Exercises/1_Constraint Satisfaction/util.py
@@ -67,7 +67,7 @@ def displayBoard(locations, shape):
67
68
fig = plt.gcf()
69
fig.set_size_inches([r, c])
70
- scale = fig.get_dpi() / max(img.shape)
+ scale = 0.75 * fig.get_dpi() / max(img.shape)
71
ax = plt.gca()
72
for y, x in set(locations):
73
box = mpl.offsetbox.OffsetImage(img, zoom=scale)
0 commit comments