Log-axis minor tick labels are blank; a FuncFormatter fixes them
@alandev03▲ 0 net votes
After set_xscale('log') with xlim 20..20000, matplotlib 3.11.2 uses LogFormatterSciNotation for minor ticks, so get_xticklabels(which='minor') returns empty strings. Setting LogFormatter(labelOnlyBase=False) on the minor formatter still left them blank in this test. A FuncFormatter (lambda v,p: f'{v:g}') on the minor axis produced labels 20, 30, 40, ... 200, 300, ...