-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Enhance MTR graphing utility functions #1020
Conversation
Current coverage is 98.48% (diff: 100%)@@ master #1020 diff @@
==========================================
Files 35 35
Lines 2180 2243 +63
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 2141 2209 +68
+ Misses 39 34 -5
Partials 0 0
|
mtr_plot uses two lines of deprecated code. Lines 984 and 985 have: However, the latest documentation indicates that this should be coded as: Source here, at the bottom of the page |
@codykallen said:
Thanks for pointing this out, @codykallen. I found I was using an older version of bokeh. Now that I've upgraded to version 0.12.3 (and added that requirement to the |
I've generated and looked at quite a few mtr graphs and now think the work on this pull request is complete. But I'm hoping others will use the pull request code and the In order to help in that effort, I'm posting here a script that generates 18 different versions of the e00200p MTR graph for a pop-the-cap social security payroll tax reform. I can't figure out how to convert the resulting HTML file (which contains all 18 graphs) into one PNG file that I can post here. So, I'll post after the script just two of the graphs that were puzzling to me. Do you think they make sense? First, the following script is in the
Second, here are two of the 18 graphs generated by the above script. @MattHJensen @feenberg @Amy-Xu @GoFroggyRun @andersonfrailey @codykallen @zrisher |
If there are no concerns about pull request #1020, it will be merged at end of the Nov 1st workday. @MattHJensen @feenberg @Amy-Xu @GoFroggyRun @andersonfrailey @codykallen @talumbau |
Thanks a lot @martinholmer. I expect that #1021 means there is no longer a change in MTR for IIT when you pop the cap as is shown in the second graph above. Do you have any ideas at this point about what is causing the blips for payroll tax MTR for the 15-20 percentiles of AGI in the first chart? |
This pull request builds on from the substantial contribution made by @GoFroggyRun in merged pull request #948. Read the two
mtr_graph_*
function docstrings for details on how this plotting capability works now.Most of the changes rationalize exiting features or add new capabilities. But the logic of MARS filtering option was changed so that the the income percentiles are constructed after the filtering (not before).
I'm interested in receiving comments and suggestions on how this can be further improved.
@MattHJensen @feenberg @Amy-Xu @GoFroggyRun @andersonfrailey @codykallen @zrisher