Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Implementing outcome plot for panelview function #581
Implementing outcome plot for panelview function #581
Changes from 40 commits
be2e782
0f28434
892826f
cb004dd
2fbf0da
f14264a
f0335f1
2cccb70
5d88555
e4220bb
d8a7ed3
d7fe68d
cda98a8
2fe3ac6
416d5f5
3159e5f
8b9b9f6
541654e
64c94a5
d30b060
78b95b5
2fc90a2
7cf44c4
c6d67af
03f0f2d
2686b9f
63b5f37
4f6b98f
3b0f8d4
9bd63f7
db811bc
060f3c7
596234f
34b255a
ccd6d20
a882acf
c217b50
c53da2a
eeb165b
e14a576
5b6e4d1
53529e5
96fd898
1e7e770
5d9cda4
e44e24d
dcbd28b
6bff74a
3ebe621
5a58514
aab3e9d
87d12e1
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
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.
Can we raise an informative error message when a user specifies
type = "outcome"
but does not provide an outcome variable?I.e. we could do
We would then also add a test in
test_error_warnings.py
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.
For the
units_to_plot
argument, I would say that we should not allow subsampling and aggregation, right? Because if a user specifies specific units, does it make sense to still aggregate them / to subsample from them? (I think you could maybe argue for the first?). Still I would rather restrict this behavior.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.
Maybe we can be more explicit here? E.g. change to
Check warning on line 184 in pyfixest/did/visualize.py
Codecov / codecov/patch
pyfixest/did/visualize.py#L184
Check warning on line 186 in pyfixest/did/visualize.py
Codecov / codecov/patch
pyfixest/did/visualize.py#L186
Check warning on line 188 in pyfixest/did/visualize.py
Codecov / codecov/patch
pyfixest/did/visualize.py#L188
Check warning on line 193 in pyfixest/did/visualize.py
Codecov / codecov/patch
pyfixest/did/visualize.py#L193