mpl.ticker.LogFormatterMathtext¶
-
class
mpl.ticker.LogFormatterMathtext(base=10.0, labelOnlyBase=True)[source]¶ Format values for log axis; using
exponent = log_base(value)-
__init__(base=10.0, labelOnlyBase=True)¶ base is used to locate the decade tick, which will be the only one to be labeled if labelOnlyBase is
False
-
Methods¶
__init__([base, labelOnlyBase]) |
base is used to locate the decade tick, |
base(base) |
change the base for labeling - warning: should always match the |
create_dummy_axis(**kwargs) |
|
fix_minus(s) |
Some classes may want to replace a hyphen for minus with the proper unicode symbol (U+2212) for typographical correctness. |
format_data(value) |
|
format_data_short(value) |
return a short formatted string representation of a number |
get_offset() |
|
label_minor(labelOnlyBase) |
switch on/off minor ticks labeling |
pprint_val(x, d) |
|
set_axis(axis) |
|
set_bounds(vmin, vmax) |
|
set_data_interval(vmin, vmax) |
|
set_locs(locs) |
|
set_view_interval(vmin, vmax) |