Matplotlib is currently using module://ipykernel.pylab.backend_inline, which is a non-GUI backend problem

Viewed 1647

I am interested to know how ginput() of matplotlib works?When I run the following simple code

axis([-1, 1, -1, 1])
print( "Please click three times")
pts = ginput(3)

I get

:3: UserWarning: Matplotlib is currently using module://ipykernel.pylab.backend_inline, which is a non-GUI backend, so cannot show the figure. pts = ginput(3)

I am using matplotlib 3.3.3 and jupyter notebook with python 3.9.0

0 Answers
Related