We're updating the default styles for Matplotlib 2.0

Learn what to expect in the new updates


Previous topic

pylab_examples example code: geo_demo.py

Next topic

pylab_examples example code: ginput_manual_clabel.py

This Page

pylab_examples example code: ginput_demo.pyΒΆ

[source code]

# -*- noplot -*-

from __future__ import print_function

from pylab import arange, plot, sin, ginput, show
t = arange(10)
plot(t, sin(t))
print("Please click")
x = ginput(3)

Keywords: python, matplotlib, pylab, example, codex (see Search examples)