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 c76c646 commit 1ea8af1Copy full SHA for 1ea8af1
ratapi/utils/plotting.py
@@ -492,6 +492,8 @@ def update_plot(self, data):
492
"""
493
if self.figure is not None:
494
self.figure.clf()
495
+
496
+ self.figure.tight_layout()
497
plot_ref_sld_helper(
498
data,
499
self.figure,
@@ -502,7 +504,6 @@ def update_plot(self, data):
502
504
show_legend=self.show_legend,
503
505
animated=True,
506
)
- self.figure.tight_layout(pad=1)
507
self.figure.canvas.draw()
508
self.bg = self.figure.canvas.copy_from_bbox(self.figure.bbox)
509
for line in self.figure.axes[0].lines:
0 commit comments