plotnine.coords.coord_trans¶
- class plotnine.coords.coord_trans(x: str | Trans = 'identity', y: str | Trans = 'identity', xlim: TupleFloat2 | None = None, ylim: TupleFloat2 | None = None, expand: bool = True)[source]¶
Transformed cartesian coordinate system
- Parameters:
- x
str
|trans
Name of transform or trans class to transform the x axis
- y
str
|trans
Name of transform or trans class to transform the y axis
- xlim
None
| (float
,float
) Limits for x axis. If None, then they are automatically computed.
- ylim
None
| (float
,float
) Limits for y axis. If None, then they are automatically computed.
- expandbool
If True, expand the coordinate axes by some factor. If False, use the limits from the data.
- x