ax.set_yticks(ranges["y_minor"], minor=True)
// labels
ax.set_xticklabels(ranges["x_labels"])
ax.set_yticklabels(ranges["y_labels"])
get_property = self.theme.themeables.property
// Padding between ticks and text
After Change
if not layout_info["AXIS_X"]:
ax.xaxis.set_ticks_position("none")
ax.xaxis.set_ticklabels([])
if not layout_info["AXIS_Y"]:
ax.yaxis.set_ticks_position("none")
ax.yaxis.set_ticklabels([])
if layout_info["AXIS_X"]:
ax.xaxis.set_ticks_position("bottom")
if layout_info["AXIS_Y"]:
ax.yaxis.set_ticks_position("left")