i am new to this so please be tolerant for mistakes i am making. i'll try to describe my problem as good as i can. feel free to give me advises on how to improve my description of the problem.
my goal: i do have this timeseries plot about different kinds of air quality values for 3 different locations. one graph for each pollutant. in addition i do have a xarray dataarray with different variables from which i only use the one called 'kind'. i was thinking of a horizontal bar parallelly attached to each graph inside the same plot, just indicating 3 different colors which depend on the value of the array 'kind' ('A', 'B', 'NaN') for every single timestamp.
for the timeseries i use matplotlib.
i am grateful for any help provided!
edit: this is what i'm looking for.. a horizontal bar linked to the same xaxis so it gives me additional info on my time series values. the additional information comes from another file (xarray.dataarray)