pesaply / mplh5canvas

Automatically exported from code.google.com/p/mplh5canvas
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

When embedded in an iframe, the plot displays "disconeccted" until one of the grid layouts is selected #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run one of the example plots (eg anim_plot.py)
2. Embed the produced plot in an iframe, eg. with:
<html>
    <head>
     Embedded
    </head>
    <body>  
                An mplh5canvas graph embedded in an iframe!
        <iframe src="http://127.0.0.1:9000" width=100% height=100%></iframe>
    </body>
</html>

3. Navigate to the url of the containing page (127.0.0.1:80 in this case)

What is the expected output? What do you see instead?
It should graph immediately.

What version of the product are you using? On what operating system?
mplh5canvas v0.6. Running ubuntu 11.10 with apache as the webserver

Please provide any additional information below.
It would be great to have a way to display the graphs in a page with other 
elements. Perhaps I'm missing something obvious?

Original issue reported on code.google.com by morgan.h...@gmail.com on 30 Jan 2012 at 5:34

GoogleCodeExporter commented 9 years ago
Sorry for the late reply... In case this is still an issue:

The main figure dashboard page at e.g. http://127.0.0.1:9000 is not that happy 
within an iframe. This might change in future. The individual figure pages, 
e.g. http://127.0.0.1:9000/figure1, do work in an iframe and probably makes 
more sense to use in this way (i.e. have one figure per iframe).

Hope this helps!

Original comment by ludwig.s...@gmail.com on 24 Aug 2012 at 11:58