When I try to change my axes scale to log scale:
def set_y_scale(ax: plt.Axes, is_x_log_scale: bool): if is_y_log_scale: ax.set_yscale("log")