diff --git a/tiny/rna/plotterlib.py b/tiny/rna/plotterlib.py index 6bef4819..d29c9361 100644 --- a/tiny/rna/plotterlib.py +++ b/tiny/rna/plotterlib.py @@ -719,11 +719,12 @@ def get(self) -> Tuple[plt.Figure, plt.Axes]: class ScatterCache(CacheBase): def __init__(self): - self.fig, self.ax = plt.subplots(figsize=(8, 8), tight_layout=False) + self.fig, self.ax = plt.subplots(figsize=(8, 8), layout="none") self.ax.set_aspect('equal') def get(self) -> Tuple[plt.Figure, plt.Axes]: for group in self.ax.collections: group.remove() + self.fig.set_layout_engine('none') return self.fig, self.ax \ No newline at end of file