diff --git a/docs/changelog.qmd b/docs/changelog.qmd index 5425614d..68205a1d 100644 --- a/docs/changelog.qmd +++ b/docs/changelog.qmd @@ -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`. diff --git a/pyfixest/did/lpdid.py b/pyfixest/did/lpdid.py index 79954a13..3feb7e32 100644 --- a/pyfixest/did/lpdid.py +++ b/pyfixest/did/lpdid.py @@ -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(