Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Problem
#25117 wanted to put an extra axes at y=0. It should be possible to passax.transData
tosecondary_xaxis
so that the location variable is understood as data co-ordinates, not axes-relative co-ordinates.
Proposed solution
secondary_xaxis(0, transform=ax.transData)
should put the secondary axes at y=0. Of course the default should be ax.transAxes for back-compatibility.