Merge branch 'master' into io-api-option
This commit is contained in:
commit
b0c9121b78
@ -282,7 +282,10 @@ def plot_balances():
|
||||
# remove trailing link ports
|
||||
df.index = [
|
||||
i[:-1]
|
||||
if ((i not in ["co2", "NH3", "H2"]) and (i[-1:] in ["0", "1", "2", "3"]))
|
||||
if (
|
||||
(i not in ["co2", "NH3", "H2"])
|
||||
and (i[-1:] in ["0", "1", "2", "3", "4"])
|
||||
)
|
||||
else i
|
||||
for i in df.index
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user