From 41d985d6f965d8a2687acf0141396d42979df5ad Mon Sep 17 00:00:00 2001 From: Nathan Oliver Date: Tue, 21 Jan 2025 13:46:14 -0700 Subject: [PATCH] Set width and height in DimensionalPlot. --- dimes/dimensional_plot.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/dimes/dimensional_plot.py b/dimes/dimensional_plot.py index fe08d9d..9aa1dcb 100644 --- a/dimes/dimensional_plot.py +++ b/dimes/dimensional_plot.py @@ -242,15 +242,9 @@ def __init__( self.x_axis = x_axis self.subplots: list[DimensionalSubplot | None] = [None] self.is_finalized = False - print(self.figure) - print(self.figure.layout) self.figure.layout["title"] = title - print(self.figure) - print(self.figure.layout) - self.figure.layout.update({"width":width}) - self.figure.layout.update({"height":height}) - print(self.figure) - print(self.figure.layout) + self.figure.layout["width"] = width + self.figure.layout["height"] = height if additional_info is not None: self.figure.add_trace( Scatter(