We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5df8ffe commit 77dab11Copy full SHA for 77dab11
artiq/gui/rt_results.py
@@ -28,11 +28,14 @@ def delete(self):
28
class XYWindow(_PlotWindow):
29
def on_draw(self, widget, ctx):
30
if self.data is not None:
31
+ data = self.filter_data()
32
cairoplot.scatter_plot(
33
ctx,
- data=self.filter_data(),
34
+ data=data,
35
width=widget.get_allocated_width(),
36
height=widget.get_allocated_height(),
37
+ x_bounds=(min(data[0])*0.98, max(data[0])*1.02),
38
+ y_bounds=(min(data[1])*0.98, max(data[1])*1.02),
39
border=20, axis=True, grid=True,
40
dots=1, discrete=True,
41
series_colors=[(0.0, 0.0, 0.0)],
0 commit comments