fix juno plot sizing fallback

This commit is contained in:
Sebastian Pfitzner 2017-07-12 10:40:26 +02:00
parent c385035ac5
commit 9cf246a03e

View File

@ -295,7 +295,7 @@ end
jsize[1] == 0 && (jsize[1] = 400) jsize[1] == 0 && (jsize[1] = 400)
jsize[2] == 0 && (jsize[2] = 500) jsize[2] == 0 && (jsize[2] = 500)
plt[:size] = Juno.plotsize() plt[:size] = jsize
Juno.render(pane, HTML(stringmime(MIME("text/html"), plt))) Juno.render(pane, HTML(stringmime(MIME("text/html"), plt)))
plt[:size] = sz plt[:size] = sz
end end