Skip to content

Commit

Permalink
Fix iplot error lpdid (#754)
Browse files Browse the repository at this point in the history
* fix error when calling iplot twice

* update changelog
  • Loading branch information
s3alfisc authored Dec 18, 2024
1 parent 2447cb7 commit 4c59151
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/changelog.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## PyFixest 0.28.0 (In Development, can be installed from github)

- Fix a bug that caused reindexing of `LPDID._coeftable` when calling `LPDID.iplot()`. As a result, a second call of `LPDID.iplot()` would fail.

## PyFixest 0.27.0

- Adds support for Gelbach's (JoLe 2016) Regression Decomposition method using a `decompose()` method for `Feols`.
Expand Down
2 changes: 1 addition & 1 deletion pyfixest/did/lpdid.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def iplot(
lets-plot figure
A lets-plot figure with coefficient estimates and confidence intervals.
"""
df = self._coeftable
df = self._coeftable.copy()
df["fml"] = "lpdid"

return _coefplot(
Expand Down

0 comments on commit 4c59151

Please sign in to comment.