svg/charts/graph.py
def draw_y_labels(self):
		"Draw the Y axis labels"
		if not self.show_y_labels:
			# do nothing
			return

		labels = self.get_y_labels()
		count = len(labels)

		labels = enumerate(iter(labels))
		start = int(not self.step_include_first_y_label)
		labels = itertools.islice(labels, start, None, self.step_y_labels)
		list(map(self.draw_y_label, labels))
		self.draw_y_guidelines(self.field_height(), count)
def draw_y_labels(self):
		"Draw the Y axis labels"
		if not self.show_y_labels:
			# do nothing
			return

		labels = self.get_y_labels()
		count = len(labels)

		labels = enumerate(iter(labels))
		start = int(not self.step_include_first_y_label)
		labels = itertools.islice(labels, start, None, self.step_y_labels)
		list(map(self.draw_y_label, labels))
		self.draw_y_guidelines(self.field_height(), count)
def draw_y_labels ( self ) : if not self . show_y_labels : # do nothing return labels = self . get_y_labels ( ) count = len ( labels ) labels = enumerate ( iter ( labels ) ) start = int ( not self . step_include_first_y_label ) labels = itertools . islice ( labels , start , None , self . step_y_labels ) list ( map ( self . draw_y_label , labels ) ) self . draw_y_guidelines ( self . field_height ( ) , count )
Draw the Y axis labels
Draw the Y axis labels