Skip to content

Commit 2eb0f41

Browse files
committed
Additional fix. For some reason retrieving the cached figure causes it to "forget" the layout engine it should be using. There's likely an optimization opportunity here in our approach, but for now this restores the intended functionality
1 parent eb49418 commit 2eb0f41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tiny/rna/plotterlib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -726,4 +726,5 @@ def get(self) -> Tuple[plt.Figure, plt.Axes]:
726726
for group in self.ax.collections:
727727
group.remove()
728728

729+
self.fig.set_layout_engine('none')
729730
return self.fig, self.ax

0 commit comments

Comments
 (0)