Cyanide's way of recording y values produces a mirror image of what is displayed on the pitch. This function mirrors y values around the pitch midpoint (7) to produce plots that look like what the CabalVision replay looks like
1 | flip_y(y_vals)
|
y_vals |
integers to flip. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.