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
31e2fe96
Commit
31e2fe96
authored
Apr 06, 2020
by
constantin.hoeing
Browse files
corrected a error. This error might come from a change in a new version in matlab
parent
866d1380
Changes
1
Hide whitespace changes
Inline
Side-by-side
proxtoolbox/Problems/sudoku.py
View file @
31e2fe96
...
...
@@ -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