Skip to content

Commit

Permalink
Set width and height in DimensionalPlot.
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancoliver committed Jan 21, 2025
1 parent d3e6f24 commit 41d985d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions dimes/dimensional_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 41d985d

Please sign in to comment.