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
  • 59,172
  • 18
  • 144
  • 130
bugsyb
  • 4,977
  • 7
  • 28
  • 39
  • 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,408
  • 13
  • 23