To plot interval data, you can use the error panel provided by the <strong> function and use axis.xaxis_date () errorbar () to make Matplotlib format the axes, as the plot_date () function does.
Here is an example:
#!/usr/bin/python import datetime import numpy as np import matplotlib.dates as mdates import matplotlib.pyplot as plt
source share