edit_y_axis_scaling#
- Spectral.edit_y_axis_scaling(name='Y1', linear_scaling=True, min_scale=None, max_scale=None, minor_tick_divs=5, min_spacing=None, units=None)#
Edit the Y-axis scaling settings.
- Parameters:
- axis name
str
,optional
Axis name. The default is
Y
.- linear_scalingbool,
optional
Whether to use the linear scale. The default is
True
. WhenFalse
, the log scale is used.- min_scale
str
,optional
Minimum scale value with units. The default is
None
.- max_scale
str
,optional
Maximum scale value with units. The default is
None
.- minor_tick_divs
int
,optional
Minor tick division. The default is
5
.- min_spacing
str
,optional
Minimum spacing with units. The default is
None
.- units
str
,optional
Units in the plot. The default is
None
.
- axis name
- Returns:
- bool
True
when successful,False
when failed.