MCPcopy
hub / github.com/matplotlib/matplotlib / set_xscale

Method set_xscale

lib/mpl_toolkits/mplot3d/axes3d.py:1159–1173  ·  view source on GitHub ↗

Set the x-axis scale. Parameters ---------- value : {"linear", "log", "symlog", "logit", ...} The axis scale type to apply. See `~.scale.ScaleBase` for the list of available scales. **kwargs Keyword arguments are forwarde

(self, value, **kwargs)

Source from the content-addressed store, hash-verified

1157 axis._set_axes_scale(value, **kwargs)
1158
1159 def set_xscale(self, value, **kwargs):
1160 """
1161 Set the x-axis scale.
1162
1163 Parameters
1164 ----------
1165 value : {"linear", "log", "symlog", "logit", ...}
1166 The axis scale type to apply. See `~.scale.ScaleBase` for
1167 the list of available scales.
1168
1169 **kwargs
1170 Keyword arguments are forwarded to the scale class.
1171 For example, ``base=2`` can be passed when using a log scale.
1172 """
1173 self._set_axis_scale(self.xaxis, value, **kwargs)
1174
1175 def set_yscale(self, value, **kwargs):
1176 """

Callers 15

test_scale3d_all_scalesFunction · 0.80
test_scale3d_all_clippedFunction · 0.80
test_scale3d_log_basesFunction · 0.80
test_AxesFunction · 0.80
set_scaleMethod · 0.80
xscaleFunction · 0.80
key_press_handlerFunction · 0.80
__init__Method · 0.80
loglogMethod · 0.80

Calls 1

_set_axis_scaleMethod · 0.95

Tested by 15

test_scale3d_all_scalesFunction · 0.64
test_scale3d_all_clippedFunction · 0.64
test_scale3d_log_basesFunction · 0.64
test_AxesFunction · 0.64
test_scatter_logscaleFunction · 0.64
test_logit_scalesFunction · 0.64
test_invalid_log_limsFunction · 0.64
test_function_scaleFunction · 0.64