Skip to content

Commit

Permalink
fix svg issue in plot
Browse files Browse the repository at this point in the history
  • Loading branch information
hiruna72 committed Mar 13, 2024
1 parent edbb090 commit 7ca0311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,7 @@ def run(args):
output_file_name = args.output_dir + "/" + read_id + "_" + args.tag_name
if args.save_svg:
output_file_name += ".svg"
layout_.output_backend = "svg"
layout_[0].output_backend = "svg"
export_svgs(layout_, filename=output_file_name)
else:
output_file_name += ".html"
Expand Down Expand Up @@ -1183,7 +1183,7 @@ def run(args):
output_file_name = args.output_dir + "/" + read_id + "_" + args.tag_name
if args.save_svg:
output_file_name += ".svg"
layout_.output_backend = "svg"
layout_[0].output_backend = "svg"
export_svgs(layout_, filename=output_file_name)
else:
output_file_name += ".html"
Expand Down

0 comments on commit 7ca0311

Please sign in to comment.