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
  • 52,530
  • 16
  • 137
  • 125
bugsyb
  • 4,282
  • 7
  • 24
  • 37
  • 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,140
  • 11
  • 23