nvim-ipy icon indicating copy to clipboard operation
nvim-ipy copied to clipboard

Plotting error. Matplotlib using non-gui backend

Open ghost opened this issue 7 years ago • 1 comments

When trying to plot with matplotlib.plt, using fig.show()

/usr/local/lib/python3.5/dist-packages/matplotlib/figure.py:418: UserWarning: matplotlib is currently using a non-GUI backend, so cannot show the figure "matplotlib is currently using a non-GUI backend, "

Any idea how to get this working? Thanks for your help!

ghost avatar Sep 23 '18 22:09 ghost

Try to use %matplotlib tk (or qt or your favorite backend) before the first plot command.

bfredl avatar Sep 24 '18 17:09 bfredl