tkf / emacs-ipython-notebook

IPython notebook client in Emacs
tkf.github.com/emacs-ipython-notebook/
GNU General Public License v3.0
548 stars 51 forks source link

ginput() doesn't work #83

Closed pranjalv123 closed 11 years ago

pranjalv123 commented 11 years ago

Hi, If I try to use ginput() in ein, I get an error (below). Is this supported in EIN, or am I doing something wrong?

Truncated Traceback (Use C-c C-x to view full TB): /usr/local/lib/python2.7/dist-packages/matplotlib/blocking_input.pyc in call(self, n, timeout) 92 93 # Ensure that the figure is shown

---> 94 self.fig.show() 95 96 # connect the events to the on_event function call

AttributeError: 'Figure' object has no attribute 'show'

tkf commented 11 years ago

Hi, thanks for the report. But please try to put enough information for me to reproduce the issue. I don't know what is ginput. I assume you are using --pylab=inline or something. If so, it is from pylab namespace. Also, did you try the same in official browser frontend?

pranjalv123 commented 11 years ago

ginput gives the location of clicks on the figure. This looks like it's also a problem in the online notebook with --pylab inline. I'll see if it's been worked out there. Thanks!

Pranjal Vachaspati

On Sat, Nov 24, 2012 at 7:21 AM, Takafumi Arakaki notifications@github.comwrote:

Hi, thanks for the report. But please try to put enough information for me to reproduce the issue. I don't know what is ginput. I assume you are using --pylab=inline or something. If so, it is from pylab namespace. Also, did you try the same in official browser frontend?

— Reply to this email directly or view it on GitHubhttps://github.com/tkf/emacs-ipython-notebook/issues/83#issuecomment-10677118.

tkf commented 11 years ago

I am closing this issue as it is not EIN's issue.