Skip to content

Commit

Permalink
Merge pull request #139 from kb1ooo/figure-order-fix
Browse files Browse the repository at this point in the history
Fix for the figure order issue #134, copied from @robjhornby
  • Loading branch information
Steven Silvester authored Apr 7, 2020
2 parents f439f96 + bdf0c4b commit 9abe18a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions matlab_kernel/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ def do_execute_direct(self, code):
try:
self._matlab.eval(
"arrayfun("
"@(h, i) print(h, sprintf('{}/%i', i), '-d{}', '-r{}'),"
"get(0, 'children'), (1:{})')".format(
"@(h, i) print(h, sprintf('{}/%06i', i), '-d{}', '-r{}'),"
"get(0, 'children'), ({}:-1:1)')".format(
'/'.join(tmpdir.split(os.sep)),
settings["format"],
settings["resolution"],
Expand Down

0 comments on commit 9abe18a

Please # to comment.