I have used the following code
fig, ax1 = plt.subplots(figsize=(9,9))
ax2 = ax1.twinx()
ax1.plot(x, y1, 'g')
ax2.plot(x, y2, 'b')
ax1.set_xlabel('Time')
ax1.set_ylabel('Call OI', color='g')
ax2.set_ylabel('Put OI', color='b')
plt.show()
x contains incremental time y1 and y2 contain OpenInterest data from call and put side.
Also I assume that the Y-axis would be a incremental scale, but in my case, it is ditto copied sequence data from the list. I am only getting a straight line as a result
Pls check my work and output: Checkout the imgur image link (contains 4 images)
The link contains : Google sheets chart which is what I need, and the work at Jupyter-notebook is where I am lagging