I’m wondering what would be the correct way to assign data that is divided/multiplied by constant or summed up or averaged (examples: np.sum(data) , np.cumsum(data/np.sum(data)) to y **not using ColumnDataSource**. Apperciate any suggestion.

```
data = np.array([3, 2, 5, 6, 2])
s_data = {'category': category,
'y_data': data,
'proportion': data/np.sum(data),
'cum_proportion': np.cumsum(data/np.sum(data))}
source = ColumnDataSource(data=s_data)
plot_S.line(x='category', y='proportion', source=source)
plot_S.line(x='category', y='cum_proportion', source=source)
```