Span Selector
The SpanSelector is a mouse widget that enables selecting a range on an
axis.
Here, an x-range can be selected on the upper axis; a detailed view of the selected range is then plotted on the lower axis.
import matplotlib.pyplot as plt
import
