Closed ed1d1a8d closed 1 year ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
Name | Link |
---|---|
Latest commit | 1db6fa11a9811aeba0cbdbe742558189623743df |
Latest deploy log | https://app.netlify.com/sites/goattack/deploys/64920749a321050008d555d2 |
View / edit / reply to this conversation on ReviewNB
tomtseng commented on 2023-06-05T23:18:44Z ----------------------------------------------------------------
Line #16. from statsmodels.stats.proportion import proportion_confint
nit: utils
is a local import while this is a 3rd-party library import, so i think utils
should not be grouped with all these 3rd-party imports
Was organizing imports using isort and isort wasn't recognizing utils and sgf_parser as local imports. I've now created a isort.cfg that specifies this so isort auto-formatting does the right thing.
View / edit / reply to this conversation on ReviewNB
tomtseng commented on 2023-06-05T23:18:45Z ----------------------------------------------------------------
Line #16. point on the resulting plot.
Should add description of these args to the header function:
adv_name: Human-readable name of the adversary legend_args: Additional arguments for the matplotlib legend.
Not sure if legend_args
is strictly necessary — could the caller just take axs
from the return value and call axs.legend(...)
separately themselves?
Added adv_name description and removed legend_args
View / edit / reply to this conversation on ReviewNB
tomtseng commented on 2023-06-05T23:22:37Z ----------------------------------------------------------------
Line #9. import utils
nit: utils
should be grouped on its own line
View / edit / reply to this conversation on ReviewNB
tomtseng commented on 2023-06-05T23:22:38Z ----------------------------------------------------------------
Line #13. adv_name="Cylic",
Typo: Cylic
-> Cyclic
Was organizing imports using isort and isort wasn't recognizing utils and sgf_parser as local imports. I've now created a isort.cfg that specifies this so isort auto-formatting does the right thing.
View entire conversation on ReviewNB