@@ -1183,25 +1183,25 @@ def __init__(
1183
1183
r"""
1184
1184
Parameters
1185
1185
----------
1186
- use_overline : bool ( default: False)
1187
- if x > 1/2, with x = 1-v, indicate if x should be displayed as
1186
+ use_overline : bool, default: False
1187
+ If x > 1/2, with x = 1-v, indicate if x should be displayed as
1188
1188
$\overline{v}$. The default is to display $1-v$.
1189
1189
1190
- one_half : str ( default: r"\frac{1}{2}")
1191
- the string used to represent 1/2.
1190
+ one_half : str, default: r"\frac{1}{2}"
1191
+ The string used to represent 1/2.
1192
1192
1193
- minor : bool ( default: False)
1194
- indicate if the formatter is formatting minor ticks or not.
1193
+ minor : bool, default: False
1194
+ Indicate if the formatter is formatting minor ticks or not.
1195
1195
Basically minor ticks are not labelled, except when only few ticks
1196
1196
are provided, the most espaced ticks are labelled. See others
1197
1197
parameters to change the default behavior.
1198
1198
1199
- minor_threshold : int ( default: 25)
1200
- maximum number of locs for labelling some minor ticks. This
1199
+ minor_threshold : int, default: 25
1200
+ Maximum number of locs for labelling some minor ticks. This
1201
1201
parameter have no effect if minor is False.
1202
1202
1203
- minor_number : int ( default: 6)
1204
- number of ticks which are labelled when the number of ticks is
1203
+ minor_number : int, default: 6
1204
+ Number of ticks which are labelled when the number of ticks is
1205
1205
below the threshold.
1206
1206
"""
1207
1207
self ._use_overline = use_overline
@@ -1217,8 +1217,8 @@ def use_overline(self, use_overline):
1217
1217
1218
1218
Parameters
1219
1219
----------
1220
- use_overline : bool ( default: False)
1221
- if x > 1/2, with x = 1-v, indicate if x should be displayed as
1220
+ use_overline : bool, default: False
1221
+ If x > 1/2, with x = 1-v, indicate if x should be displayed as
1222
1222
$\overline{v}$. The default is to display $1-v$.
1223
1223
"""
1224
1224
self ._use_overline = use_overline
@@ -1227,19 +1227,19 @@ def set_one_half(self, one_half):
1227
1227
r"""
1228
1228
Set the way one half is displayed.
1229
1229
1230
- one_half : str ( default: r"\frac{1}{2}")
1231
- the string used to represent 1/2.
1230
+ one_half : str, default: r"\frac{1}{2}"
1231
+ The string used to represent 1/2.
1232
1232
"""
1233
1233
self ._one_half = one_half
1234
1234
1235
1235
def set_minor_threshold (self , minor_threshold ):
1236
1236
"""
1237
- Set the threshold for labelling minors ticks
1237
+ Set the threshold for labelling minors ticks.
1238
1238
1239
1239
Parameters
1240
1240
----------
1241
1241
minor_threshold : int
1242
- maximum number of locs for labelling some minor ticks. This
1242
+ Maximum number of locations for labelling some minor ticks. This
1243
1243
parameter have no effect if minor is False.
1244
1244
"""
1245
1245
self ._minor_threshold = minor_threshold
@@ -1252,7 +1252,7 @@ def set_minor_number(self, minor_number):
1252
1252
Parameters
1253
1253
----------
1254
1254
minor_number : int
1255
- number of ticks which are labelled when the number of ticks is
1255
+ Number of ticks which are labelled when the number of ticks is
1256
1256
below the threshold.
1257
1257
"""
1258
1258
self ._minor_number = minor_number
0 commit comments