Searched refs:minimum_label_spacing (Results 1 – 1 of 1) sorted by relevance
135 def AdjustLabels(self, axis, minimum_label_spacing): argument136 if minimum_label_spacing is None:144 if minimum_label_spacing > maximum_possible_spacing:145 minimum_label_spacing = maximum_possible_spacing152 if labels[i - 1][0] - labels[i][0] < minimum_label_spacing:153 new_position = labels[i - 1][0] - minimum_label_spacing160 if labels[i][0] - labels[i + 1][0] < minimum_label_spacing:161 new_position = labels[i + 1][0] + minimum_label_spacing