(self)
| 3188 | self.setLayout(self.layout) |
| 3189 | |
| 3190 | def extract_plot_limits_from_json(self): |
| 3191 | all_x_values = [] |
| 3192 | all_y_values = [] |
| 3193 | for polygon in self.plot_info.get('polygons', []): |
| 3194 | for point in polygon['points']: |
| 3195 | all_x_values.append(point[0]) |
| 3196 | all_y_values.append(point[1]) |
| 3197 | x_min, x_max = min(all_x_values), max(all_x_values) |
| 3198 | y_min, y_max = min(all_y_values), max(all_y_values) |
| 3199 | return (x_min, x_max), (y_min, y_max) |
| 3200 | |
| 3201 | |
| 3202 | def plot_custom(self, x, y, log_x, log_y, color_column=None, color_ramp=None, data_points=True): |
no outgoing calls
no test coverage detected