May-11-2018, 03:32 AM
Hi everyone,
When I type the below code I get the following output but no graph visual. How do I display graphs with matplotlib when using spyder?
<IPython.core.display.HTML object>
Out[3]: [<matplotlib.lines.Line2D at 0x2610f7bc198>]
When I type the below code I get the following output but no graph visual. How do I display graphs with matplotlib when using spyder?
import matplotlib.pyplot as plt import numpy as np data = np.arange(10) data plt.plot(data)<IPython.core.display.Javascript object>
<IPython.core.display.HTML object>
Out[3]: [<matplotlib.lines.Line2D at 0x2610f7bc198>]