matplotlib.pyplot.twiny #

matplotlib.pyplot. twiny ( ax = None ) [fonte] #

Crie e retorne um segundo eixo que compartilhe o eixo y . Os novos eixos irão sobrepor ax (ou os eixos atuais se ax for None ), e seus marcadores estarão no topo.

Exemplos

Gráficos com escalas diferentes