Skip to content

Commit

Permalink
fix: missing quotes in exported code
Browse files Browse the repository at this point in the history
  • Loading branch information
mbelak-dtml committed Jul 27, 2023
1 parent 71ac5c1 commit 1c16ec6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edvart/report_sections/multivariate_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def add_cells(self, cells: List[Dict[str, Any]]) -> None:
if self.columns is not None:
code += f", columns={self.columns}"
if self.color_col is not None:
code += f", color_col={self.color_col}"
code += f", color_col='{self.color_col}'"
code += ")"
cells.append(nbfv4.new_code_cell(code))
for sub in self.subsections:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def add_cells(self, cells: List[Dict[str, Any]]) -> None:
if self.columns is not None:
default_call += f", columns={self.columns}"
if self.color_col is not None:
default_call += f", color_col={self.color_col}"
default_call += f", color_col='{self.color_col}'"
if self.separate_plots:
default_call += ", separate_plots=True"
default_call += ")"
Expand Down

0 comments on commit 1c16ec6

Please sign in to comment.