I often encounter some pieces of python codes like the following:
l, = plt.plot(t, s, lw=2)
(The line above is borrowed from a widgets example from matplotlib itself)
I wanted to know what does the assignment l, = ...
really mean?
I often encounter some pieces of python codes like the following:
l, = plt.plot(t, s, lw=2)
(The line above is borrowed from a widgets example from matplotlib itself)
I wanted to know what does the assignment l, = ...
really mean?