<divid="unreleased-message"> You are reading an old version of the documentation (v3.3.4). For the latest version see <ahref="https://matplotlib.org/stable/gallery/widgets/buttons.html">https://matplotlib.org/stable/gallery/widgets/buttons.html</a></div>
<spanid="sphx-glr-gallery-widgets-buttons-py"></span><h1>Buttons<aclass="headerlink" href="#buttons" title="Permalink to this headline">¶</a></h1>
<p>Constructing a simple button GUI to modify a sine wave.</p>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">next</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">previous</span></code> button widget helps visualize the wave with