Skip to content

Commit

Permalink
Check if there are undefined colors
Browse files Browse the repository at this point in the history
  • Loading branch information
jnnr committed Sep 15, 2021
1 parent 2c05c8c commit cefc033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions oemoflex/tools/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ def rename_duplicated(columns_tuple, columns_mapped, dictionary):

# Map column names
renamed_columns = pd.Series(map(lambda x: map_tuple(x, labels_dict), columns))
print(renamed_columns)

# If there are duplicates, append in/out
renamed_columns = rename_duplicated(columns, renamed_columns, labels_dict)
print(renamed_columns)

return renamed_columns


Expand Down

0 comments on commit cefc033

Please sign in to comment.