We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b413f0 commit 6c4a1a2Copy full SHA for 6c4a1a2
ratapi/utils/plotting.py
@@ -493,6 +493,8 @@ def update_plot(self, data):
493
"""
494
if self.figure is not None:
495
self.figure.clf()
496
+
497
+ self.figure.tight_layout()
498
plot_ref_sld_helper(
499
data,
500
self.figure,
@@ -503,7 +505,6 @@ def update_plot(self, data):
503
505
show_legend=self.show_legend,
504
506
animated=True,
507
)
- self.figure.tight_layout(pad=1)
508
self.figure.canvas.draw()
509
self.bg = self.figure.canvas.copy_from_bbox(self.figure.bbox)
510
for line in self.figure.axes[0].lines:
0 commit comments