XYAxes.dualx¶
-
XYAxes.
dualx
(arg, **kwargs)[source]¶ Return a secondary x axis for denoting equivalent x coordinates in alternate units.
- Parameters
arg (function, (function, function), or
ScaleBase
) – Used to transform units from the parent axis to the secondary axis. This can be aFuncScale
itself or a function, (function, function) tuple, orScaleBase
instance used to generate aFuncScale
(seeFuncScale
for details).label, locator, formatter, ticks, ticklabels, minorlocator, minorticks, tickminor, ticklen, tickrange, tickdir, ticklabeldir, tickrotation, bounds, margin, color, linewidth, grid, gridminor, gridcolor, locator_kw, formatter_kw, minorlocator_kw, label_kw (optional) – Prepended with
'x'
and passed toAxes.format
.