matplotlib: pandas.
:
table = sql.read_frame(query,connection)
ax = table[0].plot(color=colors[0],ylim=(0,100))
ax2 = table[1].plot(secondary_y=True,color=colors[1], ax=ax)
ax.set_ylabel('Left axes label')
ax2.set_ylabel('Right axes label')
, secondary_y=True
(eventhough ax=ax
) pandas.plot
, .
I know that it was given a long time ago, but I think this approach is worth it.
source
share