0

I have the following code in my IPython Notebook:

%matplotlib inline
fig = plt.figure()
fig.show()

After typing this, I see the following:

<matplotlib.figure.Figure at 0x192e4ef0>

How can I get matplotlib to show the empty figure?

Paul H
  • 65,268
  • 20
  • 159
  • 136
bugsyb
  • 5,662
  • 7
  • 31
  • 47
  • possible duplicate of [How to make ipython notebook inline matplotlib graphics](http://stackoverflow.com/questions/19410042/how-to-make-ipython-notebook-inline-matplotlib-graphics) – Paul H Jul 29 '15 at 21:50

1 Answers1

2

it is plt.show() and not fig.show()

valentin
  • 3,498
  • 15
  • 23