-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add keep
/drop
to coefplot
and refactor code to improve maintainability
#341
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #341 +/- ##
==========================================
+ Coverage 85.79% 86.13% +0.33%
==========================================
Files 38 52 +14
Lines 3421 4060 +639
==========================================
+ Hits 2935 3497 +562
- Misses 486 563 +77 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks excellent, thank you Dave! I really appreciate the use of functools and the docstring operator - it makes the code base even more compact!
@@ -78,6 +78,7 @@ ignore = [ | |||
"D104", # missing docstring in public package | |||
"SIM110", # Use all instead of `for` loop | |||
"TRY003", # Avoid specifying long messages outside the exception class | |||
"D205", # 1 blank line required between summary line and description |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I also did not love that one ... 😄
Hi Alex,
I now replace
coefficients
parameter bykeep
,drop
, andexact_match
for bothcoefplot
andiplot
as mentioned in #323.In the mean time, I see there are some references to these two functions in
FixestMulti
andFeols
. Changing a parameter in the original function requires changing all functions in these modules if calling them explicitly. So I also do a refactor to these codes usefunctools.partial
so we don't need to bother syncing the changes all across codebase now.Please feel free to comment or change the code!
Best regards,
Dave