INNER CODE UNIT · Python

set_transforms

lgienapp/aquarel · aquarel/theme.py:336

    def set_transforms(
        self,
        trim: Optional[bool] = None,
        offset: Optional[int] = None,
        rotate_xlabel: Optional[int] = None,
        rotate_ylabel: Optional[int] = None,
    ):
        """
        Set the transforms

        :param trim: trims the axes to the nearest major tick, can be {"x", "y", "both"}
        :param offset: offset shift of the axes in pt. Applies to all axes
        :param rotate_xlabel: rotation of x-axis labels in degrees
        :param rotate_ylabel: rotation of y-axis labels in degrees
        :param log_axes: set log scale for the specified axes, can be {'both', 'x', 'y'}
        :return: self
        """
        self._update_transforms(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…