Skip to content

Commit

Permalink
Fix model to model_col
Browse files Browse the repository at this point in the history
Without this fix, there will be weird result if the model column has some other name than 'model'.
  • Loading branch information
LSYS committed Jan 15, 2024
1 parent fb155ab commit 3de861b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forestplot/mplot_dataframe_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def make_multimodel_tableheaders(
left_headers,
right_headers,
)
dataframe.loc[ix, "model"] = models[c]
dataframe.loc[ix, model_col] = models[c]
c += 1

return dataframe

0 comments on commit 3de861b

Please sign in to comment.