When declaring multiple sets of data (eg. multiple x=[0,1,2,3], y=[0,1,4,9] pairs) in JSON it seems there are two possible approaches.
In one (eg. anscombe.py) you declare one ColumnDataSource which contains all data arrays.
In the other (eg. stocks.py) you declare a ColumnDataSource for each x,y pair.
Which is the preferred approach? And most importantly are there situations where only one approach is valid?
I know one case is multiple lines on one plot, and the other is multiple plots, but at least in principle it would be possible to use either approach in either situation. Am I missing something?