Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nam
ProxPython
Commits
f1a734f7
Commit
f1a734f7
authored
Apr 06, 2020
by
Matthijs
Browse files
Merge remote-tracking branch 'origin/dornheim' into dornheim
parents
9b25f771
31e2fe96
Changes
1
Hide whitespace changes
Inline
Side-by-side
proxtoolbox/Problems/sudoku.py
View file @
f1a734f7
...
...
@@ -301,7 +301,7 @@ class Sudoku(Problem):
ax
.
xaxis
.
set_visible
(
False
)
ax
.
yaxis
.
set_visible
(
False
)
table
=
ax
.
table
(
cellText
=
self
.
config
[
'sudoku'
].
astype
(
int32
),
loc
=
'center'
)
for
cell
in
table
.
properties
()[
'child
_artists
'
]:
for
cell
in
table
.
properties
()[
'child
ren
'
]:
cell
.
set_height
(
0.1
)
cell
.
set_width
(
0.1
)
txt
=
cell
.
get_text
()
...
...
@@ -314,7 +314,7 @@ class Sudoku(Problem):
ax
.
xaxis
.
set_visible
(
False
)
ax
.
yaxis
.
set_visible
(
False
)
table
=
ax
.
table
(
cellText
=
self
.
solution
.
astype
(
int32
),
loc
=
'center'
)
for
cell
in
table
.
properties
()[
'child
_artists
'
]:
for
cell
in
table
.
properties
()[
'child
ren
'
]:
cell
.
set_height
(
0.1
)
cell
.
set_width
(
0.1
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment