say I create a dataclass for recording some data:
@dataclass
class HourlyReading:
temperature: float
pressure: int
I create a list of my dataclass instances and regularly add data to it:
stationA_meteorology = []
stationA_meteorology.append(HourlyReading(234,456))
stationA_meteorology.append(HourlyReading(345,345))
stationA_meteorology.append(HourlyReading(234,245))
Can I use my list as direct input to sns.lineplot to plot, for instance, a graph of temperature values?