Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Changes in figure HTML layout in 6.5?

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.