data
is the data you want the contours to represent. To draw contours, you are associating a value z
with each (x, y) point on your map. data
is z. For instance, if you wanted to make a contour map of temperatures, data
would be the temperatures.
Given your sample data, I don't understand what you want to plot. You have timestamps and locations, but no data associated with those values. It doesn't make sense to plot a contour with just that (unless you have only one timestamp per location, and you want to plot a single, static map with the time as the z value). You can't just have "an animated contour map throughout the day", you need to have an animated contour map of something (i.e., some other quantity) throughout the day. What do you want the values displayed on the map to represent? What is your dependent variable?
If you want the variable to be "number of data points at these coordinates", then you should calculate that first. That is, group your data by coordinates/time and count the number of data points at each place/time. You want the equivalent of a table like:
X Y Time Points
-10 2 10:30 4
-10 2 11:00 10
4 -10 10:30 6
4 -10 11:00 8
You can then generate a series of contour maps where your data
variable is taken from the "Points" column. I'd recommend you look at the pandas library for convenient ways of slicing and aggregating the data (e.g., to group by coordinates and/or time).
An alternative possibility is to use the technique described here.