A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ipython/ipython/issues/1612/ below:

pylab=inline fig.show() non-existent in notebook · Issue #1612 · ipython/ipython · GitHub

I have some code that draws some plots and I notice it raises an AttributeError on the show() method of a figure object. I don't really know the details but I assume that IPython is somehow providing its own backend. Inspecting a figure object created with backend 'tk' or 'wx' I notice that show() doesn't seem to be a bound method but a function, pointing at the respective backend's implementation of show()?

It seems like figure objects should provide this in the context of notebook inline plotting, even if it's a no-op, for the sake of not breaking existing code.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4