Hey, The test_rendered.html file probably should have been removed from the release version. The idea behind this was to compare a PNG of the browser rendered HTML5 plot with the standard PNG backend. (So users without HTML5 support could see how the plugin performed).
These rendered PNG's are generated from the main test.html page by running the rec.py receiver, and using the 'Connect' and 'Put images to server' buttons on the bottom of test.html Unfortunately the connect method uses a hardcoded IP address for the WebSocket and so will need to be changed if you wanted to get this working. In short, as long as test.html produces three columns of plots (HTML5, PNG and SVG), things are working fine. I apologise for the slipshod release that left this code in :) Cheers, Simon Ratcliffe On Fri, Jan 14, 2011 at 11:02 AM, Akad Demo <akadd...@gmail.com> wrote: > Hello, > > I run the test.py example from the folder mplh5canvas/test. This example > generated in the output folder 2 html pages (test.html and > test_rendered.html) and also 2 images (filename.png and filename.svg). The > test.html page is displayed ok, but when I open the test_rendered.html page > the images from the column "H5 Canvas (PNG from Chrome 4.0 OSX)" are not > displayed. > > After I studied the source code of the test.py example I saw the following > line: > > (line 85) thtml += "<td><img src='%s' width='%dpx' height='%dpx' />" % > ("h5canvas_" + png_filename, w, h) > > Now the question is: What is supposed to be "h5canvas_" + png_filename? > There is no image generated with this name in the output folder. > > The HTML 5 Canvas Backend was downloaded from here: > http://code.google.com/p/mplh5canvas/downloads/list > > Thanks! > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > > ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel