Allow simple interaction between yay graphs and non-yay python code