Plotting dates on the y-axis of a contour map/ hovmoller
This post has NOT been accepted by the mailing list yet.
So I ran into a snare when making a Hovmoller for a case study. I have everything done and colors picked out. But for the life of me cannot find a way to get the Y-axis to plot the dates provided in the data. Here is the script I have.
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
cmap = plt.cm.get_cmap(cmap)
data = pd.read_excel('/Users/operator/Documents/Hovmoller_dewpt.xlsx')
plt.xlabel('BUFF BATA CLIF JORD FAYE WEST HERK OPPE JOHN BSPA')
plt.title('Dewpoint Hovmoller for Mesonet Sites')
#timeZ contains the dates I want, and instead of having the number of rows as the y axis I want the dates there instead. Attached is the graphic I get as of now. Any thoughts or advice is much appreciated!