Skip to content

Commit

Permalink
#61 update plotter args
Browse files Browse the repository at this point in the history
  • Loading branch information
funkchaser committed Feb 17, 2025
1 parent a3c466a commit 1238055
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/aixd_ara/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ def plot_correlations(self, dataobjects, output_type):
blocks = self.blocknames_from_dataobjects(dataobjects)

plotter = Plotter(self.dataset, output=None)
fig = plotter.correlation(block=blocks, attributes=dataobjects)
fig = plotter.correlation(blocks=blocks, attributes=dataobjects)
return _fig_output(fig, output_type)

def plot_contours(self, dataobjects, output_type):
Expand All @@ -360,10 +360,10 @@ def plot_contours(self, dataobjects, output_type):
"""
if not self.dataset:
raise ValueError("Dataset is not loaded.")
block = self.blocknames_from_dataobjects(dataobjects)[0]
blocks = self.blocknames_from_dataobjects(dataobjects)

plotter = Plotter(self.dataset, output=None)
fig = plotter.contours2d(block=block, attributes=dataobjects)
fig = plotter.contours2d(blocks=blocks, attributes=dataobjects)
return _fig_output(fig, output_type)

def plot_contours_request(self, output_type):
Expand Down

0 comments on commit 1238055

Please sign in to comment.