Plotting dates and strings
The most basic way to use Matplotlib plotting methods is to pass coordinates in
as numerical numpy arrays. For example, plot(x, y) will work if x and
y are numpy arrays of floats (or integers). Plotting methods will also
work if numpy.asarray will convert x and y to an array of floating
point numbers; e.g. x could be a python list.
Matplotlib also has the ability to convert other data types if a "unit converter" exists for the data type. Matplotlib has two built-in converters, one for dates and the other for lists of strings. Other downstream libraries have their own converters to handle their data types.











