def draw_peaks_inverted(self, x, peaks, line_color):
y1 = self.image_height * <NUM_LIT:0.5> - peaks[<NUM_LIT:0>] * (self.image_height - <NUM_LIT:4>) * <NUM_LIT:0.5><EOL>y2 = self.image_height * <NUM_LIT:0.5> - peaks[<NUM_LIT:1>] * (self.image_height - <NUM_LIT:4>) * <NUM_LIT:0.5><EOL>if self.previous_y and x < self.image_width - <NUM_LIT:1>:<EOL><INDENT>if y1 < y2:<EOL><INDENT>self.draw.line((x, <NUM_LIT:0>, x, y1), line_color)<EOL>self.draw.line((x, self.image_height, x, y2), line_color)<EOL><DEDENT>else:<EOL><INDENT>self.draw.line((x, <NUM_LIT:0>, x, y2), line_color)<EOL>self.draw.line((x, self.image_height, x, y1), line_color)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>self.draw.line((x, <NUM_LIT:0>, x, self.image_height), line_color)<EOL><DEDENT>self.draw_anti_aliased_pixels(x, y1, y2, line_color)<EOL>self.previous_x, self.previous_y = x, y1<EOL>
Draw 2 inverted peaks at x