|
From: Skip M. <sk...@po...> - 2014-05-07 01:23:17
|
> I'm trying to use the webagg backend for the first time, and seem to > be bumping into a common problem - nothing appears. I tried this at home on my Mac. Tornado was already installed, so I updated it to 3.2.1, and ran a Matplotlib app I have which allows me to set the backend on the command line. I get the exact same behavior as at work on my Linux desktop. I get a page at 127.0.0:8988 with a "Figure 1" link. Clicking that takes me to 127.0.0.1:8988/1, which is a blank page. Chrome is my default web browser on both Linux and the Mac. I manually visited the page from both Firefox and Safari, clicked the link, and... nothing. The same behavior as on Chrome. Then I had the bright idea to look at the JavaScript console. It shows this error message: Uncaught SyntaxError: Unexpected token & Clicking that error took me to this line: var fig = new figure('1', websocket_url_prefix); Are those entities supposed to be ''? What bit of code generates that JavaScript? Skip |