Skip to content

Commit

Permalink
fix : HTML_Chart function modified #144
Browse files Browse the repository at this point in the history
  • Loading branch information
sepandhaghighi committed Mar 21, 2021
1 parent 18c15e1 commit 134f841
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opem/Functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,8 @@ def HTML_Chart(x, y, color, x_label, y_label, chart_name, size, file):
"""
chart_data = ""
chart_title = str(chart_name)
if " " in chart_title:
chart_title = chart_title.replace(" ","-")
if isinstance(y, list):
y_data = list(map(None_Omit, y))
for index, data in enumerate(y_data):
Expand Down

0 comments on commit 134f841

Please sign in to comment.