matplotlib.pyplot.twiny#
- matplotlib.pyplot.twiny(ax=None)[source]#
Make and return a second Axes that shares the y-axis. The new Axes will overlay ax (or the current Axes if ax is None), and its ticks will be on the top.
Examples
`); Plot typesUser guideTutorialsExamplesReferenceContributeReleases GitterGitter DiscourseDiscourse GitHubGitHubPlot typesUser guideTutorialsExamplesReferenceContributeReleases GitterGitter DiscourseDiscourse GitHubGitHubSection Navigationmatplotlibmatplotlibmatplotlib.animationmatplotlib.animationmatplotlib.animation.Animationmatplotlib.animation.FuncAnimationmatplotlib.animation.ArtistAnimationmatplotlib.animation.Pi..." />`); Plot typesUser guideTutorialsExamplesReferenceContributeReleases GitterGitter DiscourseDiscourse GitHubGitHubPlot typesUser guideTutorialsExamplesReferenceContributeReleases GitterGitter DiscourseDiscourse GitHubGitHubSection Navigationmatplotlibmatplotlibmatplotlib.animationmatplotlib.animationmatplotlib.animation.Animationmatplotlib.animation.FuncAnimationmatplotlib.animation.ArtistAnimationmatplotlib.animation.Pi..." />