New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web_backend is not installed #1638
Comments
I just tried the webagg backend. The backend_webagg.py file is installed for me but the web_backend dir is not. I only tried installing it using |
Sorry about that. Thanks for the report. I've fixed this directly on master. |
Sorry for the accidental closure. @bmu, could you update to the latest master and report back whether it works for you? |
I just installed latest master directly from github (as pip -e doesn't realy installs the files but creates a link). The web_backend directory and backend_webagg.py seems to be on the rigth place. However if I plot something I don't get a connection to http://127.0.0.1:8888/1/ I added a print statement to backend_webagg.py and it seems to be imported. I'm working with ipython in pylab mode. Could this be a problem? Can you give a small working example as a script, so that I can check if this works? |
Perhaps the step your missing is calling It should work fine inside of ipython (either console or notebook), but it isn't integrated into the notebook in any way yet -- it will feed to a separate browser page. |
I tried
but nothing shown at http://127.0.0.1:8888/1/ |
It does not work for me with pylab either. What definitly works for me in IPython is: import matplotlib
matplotlib.use('webagg')
import matplotlib.pyplot as plt
plt.plot(range(10))
plt.show() |
than (I think) a qt4 window pop up! I'm on a debian mashine with iceweasel 3.5.16 now. Is this a problem? |
I can confirm this in IPython. I didn't do any of my testing in IPython -- IPython is obviously changing the environment for us somehow. @bmu: Let's confirm that the known working environment works for you first. Can you cd to |
If Iceweasel 3.5 is equivalent to Firefox 3.5 I don't think this will not work since it does not have websockets support. I believe you need at least Firefox/Iceweasel 11. |
For me using Firefox 17.0.1 and IPython 0.13.1 it works with both IPython Qtconsole and standard IPython provided that pylab is not enabled. |
It doesn'work from within ipython even if I simply use I will later post if it works on debian/iceweasel 3.5 (which should be equivalent to firefox 3.5). |
As a site note: Just updated to firefox 18 and |
However this seems to be desired/expected. |
See my answer to #1651 (works but blocks the prompt). |
I just wanted to test the new web_backend. So I cloned matplotlib (last commit 3f76b21, 01-07-2013) and installed it in a virtualenv with
in my matplotlibrc I set the backend with
However nothing happens, when I plot something and I cannot access http://127.0.0.1:8888/1/.
If I look at my site-packages, in matplotlib/backends there is no web_backend directory nor a backend_webagg.py.
Maybe this is related to setup.py: in packages web_backend is not included.
How can I use the web backend?
The text was updated successfully, but these errors were encountered: