Skip to content

Commit

Permalink
Mplot dev (#104)
Browse files Browse the repository at this point in the history
* Fix model to model_col

Without this fix, there will be weird result if the model column has some other name than 'model'.

* Bump to ver 0.4.0
  • Loading branch information
LSYS committed Jan 15, 2024
1 parent f822f4d commit 6956b9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
install_requires = ["pandas", "numpy", "matplotlib", "matplotlib-inline<=0.1.3"]
setup(
name="forestplot",
version="0.3.1",
version="0.4.0",
license="MIT",
author="Lucas Shen",
author_email="lucas@lucasshen.com",
Expand Down

0 comments on commit 6956b9d

Please sign in to comment.