Multiple y-axes in Spyder

Hello, I am relatively new to Spyder and Plotly, so please bear with me! I’m trying to plot a figure with multiple y-axes in Spyder. I wrote the Plotly code for Jupyter Notebook, but now I must adapt it for use in Spyder. Below you’ll find the part of the code that needs a syntax update.
As it is, the code functions in Spyder, but I cannot see the individual points or trace the different lines. Can someone help me modify this?
Thank you for your help!