Skip to content

Tag: python-3.x

Second y-axis not showing when using matplotlib

I am trying to plot data_1 and data_2 against data (data supplied in example) using 2 y-axis on different scales. When I run my code it seems only data_2 gets plotted. I am limited to only use the matplotlib library for this. Am I missing something here? Answer They are plotted over each other. Change the lin…