ecoli.analysis.antibiotics_colony.plot_utils

ecoli.analysis.antibiotics_colony.plot_utils.prettify_axis(ax, xlim=None, ylim=None, title_fontsize=12, label_fontsize=9, ticklabel_fontsize=8, tick_format_x='{:.1f}', tick_format_y='{:.2f}', xticks='minimal', yticks='minimal', xlabel_as_tick=True, ylabel_as_tick=True)[source]

Prettifies the given axis by doing the following: - removes all axis ticks except the first and last - de-spines the axis, offsetting the bottom and left axes - moves axis labels into the empty space usually occupied by ticks - sets all fonts to Arial, font sizes to the given font sizes, bolds the title