-
Notifications
You must be signed in to change notification settings - Fork 7
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
docs: Add a set of examples in cookbook
#123
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #123 +/- ##
=======================================
Coverage 75.85% 75.85%
=======================================
Files 49 49
Lines 4950 4950
=======================================
Hits 3755 3755
Misses 1195 1195 ☔ 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.
super cool! ❤️ thank you!
I have a few suggestions/requests. I'll mark them inline
- will be added in follow-up PR if necessary
Hopefully that should do it |
- got lost in the cleanup
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.
perfect. thanks I'm very happy with this. Will follow up shortly to get those awesome screenshots back
cookbook
cookbook
A PR to provide a
cookbook
section in the documentation which can be used as a reference to use ndv in different contexts.I added 3 examples on how to embed
ArrayViewer.widget()
in a custom Qt application (was also a learning experience for me!)ndv
with a couple of pushbuttons to select one dataset or the other;ndv.ArrayViewer
widgets in the sameQWidget
;openwfs
.In the first example I also wanted to add a button to show the
cells3d
dataset but after loading it, the 2D datasets were squashed and I did not know how to fix the behavior; for a minimal example though I believe it should work even withoutcells3d