Closed
Description
Aparently, when I call plt.show(block=True)
in a notebook, using notebook backend set by %matplotlib notebook
, the block
keyword is unrecognized.
from matplotlib import pyplot as plt
%matplotlib notebook
f, ax = plt.subplots(1, 1)
ax.plot([1,2,3], [3,2,1], 'k-')
plt.show(block=True)
results in:
~/.anaconda3/lib/python3.6/site-packages/matplotlib/pyplot.py in show(*args, **kw)
249 """
250 global _show
--> 251 return _show(*args, **kw)
252
253
TypeError: show() got an unexpected keyword argument 'block'
My system:
Antergos Linux
Matplotlib: 2.1.0
IPython : 6.1.0
Notebook: 5.0.0
Python: 3.6 (anaconda)
Metadata
Metadata
Assignees
Labels
No labels