5 Introduction to Matplotlib

matplotlib.axes.Axes object. Here's a slider widget demo that ùpdates the amplitude of a sine curve. The update function is triggered by the slider's on_changed() event. import numpy as np import matplotlib.pyplot as plt import matplotlib.animation as animation ................
................