Changes in figure HTML layout in 6.5?

asked 2015-03-17 14:30:00 +0100

ADuC812 gravatar image

I am trying to layout the figures drawn by plot() using raw html. In 6.3 and 6.4 it worked, but got broken in 6.5. My code is:

html('<table><tr><td><table><tr><td>')
plot(sin).show(figsize=[2,1.4])
html('</td></tr><tr><td>')
plot(cos).show(figsize=[2,1.4])
html('</td></tr></table></td><td>')
print(version())
print('Plots of sine and cosine\nare to the left ')
html('</td></tr></table>')

In 6.3, the tags are embedded exactly into the places where the show() function is called, but in 6.5 all the figures are in the end and not embedded into the table. Was this change intentional? Can anyone propose a workaround? My application relies a lot on such formatting.

edit retag flag offensive close merge delete

Comments

Can we assume this is in the Sage notebook, not command line or cloud?

kcrisman gravatar imagekcrisman ( 2015-03-17 15:16:47 +0100 )edit