-
Notifications
You must be signed in to change notification settings - Fork 34
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
Rewrote the multilayer function #486
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #486 +/- ##
==========================================
- Coverage 92.00% 91.89% -0.12%
==========================================
Files 60 60
Lines 4428 4441 +13
==========================================
+ Hits 4074 4081 +7
- Misses 354 360 +6
☔ View full report in Codecov by Sentry. |
🚀 @maximelucas incredible! About the About removing the |
So in the original function I remember I thought it wasn't working but then you managed to see it work by using small values I think. Here I'm not managing to see any change when I change
Sorry I wasn't with what I meant. Right now we have if ax is None:
_, ax = plt.subplots(figsize=(width, height), subplot_kw={"projection": "3d"}) what I mean is we could replace it by this which works as well: if ax is None:
_, ax = plt.subplots(subplot_kw={"projection": "3d"}) and then we can also remove the |
Thanks for the clarifications @maximelucas , good catch about |
Ok it's ready I somebody approves then we can merge |
I had a quick look, and great work! I will defer final approval to Thomas since he has more expertise here, but two quick questions: (1) |
Thanks Nich! (1) Yes! (2) Done. |
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 good @maximelucas ! thank you very much 🚀
This makes it more consistent with other (see #477).
_scalar_arg_to_dict
solvingmin/max_val
not working in_scalar_arg_to_dict()
#442 and Making_scalar_arg_to_dict
consistent #410.I couldn't make
sep
work (related to #433) @thomasrobiglio can you check?Related to that I would maybe remove the
height
andwidth
arguments as users can control that externally and pass anax
of their choice to the function.The function in general could some more tests but I would leave that for a future PR. I created a new notebook that showcases many use cases and they work.