broken plotting when data sources are passed in