-
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
Get the "Interactive Plots" to work and show up #29
Conversation
👋 Thanks for opening this PR! The Cookbook will be automatically built with GitHub Actions. To see the status of your deployment, click below. |
Thanks for fixing the toc! Looks like we want to add `'geoviews' to the environment. |
Should this section go after animation instead of before? If not, the spaghetti plots notebook should point to this notebook in the "whats next" section I think |
Yes the "what's next" sections will need to be corrected. I agree we could put this after animation. |
While the flow and content of this notebook is good, I think it misses the point of being used to showcase the interactive functionality of HoloViews.
A think there should be a much greater emphasis put into explaining the actual interactivity of these plots. A few suggestions
What do you think? |
Yes, I have addressed these both |
These reviews are invaluable! I agree with all of them and will be working on getting them addressed. |
Fantastic! One suggestion to keep in mind For the sections of the notebook, what do you think of having it broken down into the following Sub Titles HoloVizOverviewContent here would be mostly unchanged Trimesh VisualizationContent would almost be mostly unchanged, however slightly condensed, as per the points I gave above. InteractivityNew content to this notebook, would manipulate the plots from the |
Hey @philipc2, this is my responses to both of your comments above:
It now emphasizes interactivity more (even though I kept the primal and dual mesh parts for not only getting the data ready for visualization but also keeping them as reference for the future. However, I now name those parts as "preprocessing" that suggests it's not direclt visualization-related)
We now have a separate part dedicated to its discussion
These are great recommendations, though I thought discussing mandelbrot, panel, HoloMap could expand the scope too much, so I included them as "further reading" recommendations in the text.
Thanks very much for this; it was much helpful for me to rethink about the flow and content. Now, interactivity has a whole section of it under which several subjects are discussed. Though, I still would like to keep primal and dual mesh parts as "preprocessing" because of the reasons mentioned in the beginning of this comment
Done; thanks a lot!
Instead of removing the code cell comments, I had added the following admonition to explain for what purpose comments in the code cells would work: What do you think?
Added the "Dynamic plot" section to discuss this.
Added the "Holoviews’ options system: opts" section to discuss this.
Sorry that I had missed this comment of yours until this morning and I had revised the notebook significantly to get its latest version up as of last night. However, I feel like you and I thought in a very similar way. Here is the new titles/subtitles with the latest version: #Holoviz OverviewMPAS preprocessiingUtility functionsData loadingTriangular mesh generation using MPAS’s cell connectivity array from the primal meshInteractive Holoviz PlotsHoloviews’ options system: optsPan & zoomHoverDynamic plotFurther Interactivity ConsiderationsWhat do you think? |
Couple minor notes:
will add more notes after lunch! |
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.
The changes look wonderfull, the flow is significantly better now.
I've compiled some comments here, let me know if you can access it
A few general comments
- Check for grammar throughout
- Please run the
pre-commit
on the notebook to fix the formatting of some of the cells, and generally try to keep code comments to a minimal (use docstrings for function descriptions, move descriptive code into markdown cells, etc.)
Great catches; thanks! Addressed these all and once the build succeeds, you can give it another look |
Yeah, thanks! I have addressed them all, and they were great to improve things significantly.
I believe it is completed now.
Actually pre-commit gets angry with several other notebooks too, so @jukent may hav a better understanding on what is going on there. |
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.
Looking good!
Only thing that appears to be missing is a note/warning regarding the "dynamic" option not actually being dynamic in the rendered notebook.
Ok, I can do that, but instead of that, do you think it'd be worth making all the prior plots with |
That's a good idea also. My concern however is if someone zooms into the "dynamic" plot via the cookbook, it won't actually re-render anything. |
Need to still add the "Interactive" section to the "Structure" section of the README. |
For the "Hover" section, can you modify the
|
This is looking really strong! Everything I noticed is already captured by @philipc2 's comments |
Oops, with this comment, I just got what you meant with that warning about dynamic plots in rendered notebooks earlier today. Okay, I will put a warning about this |
I believe I have addressed all thelatest things suggested. Namely:
|
These additions are perfect! |
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.
Almost there! A few more minor suggestions
- Refer to Holoviz as HoloViz for consistency throughout
- The title "HoloViz Tools" could be rephrased, I'm not a big fan of using the word "Tools", maybe "HoloViz Packages" (Technically, the only HoloViz package used in this notebook is HoloViews, so we should maybe reconsider the use of HoloViz throughout). Any thoughts?
Done
HoloViz Plots, HoloViz Functions, or HoloViz Functionality? I lean towards HoloViz Plots. I think HoloViz Packages would also work as we are using geoviews, datashader through holoviews.opereations despite not directly for interactivity. Originally I wanted to use "HoloViz Visualizations" but it sounded duplicative right under the chapter name "Interactive Visualization ...". |
Hey @philipc2 I have pushed the renaming of chapter and the notebook as we discussed, so this should good for another review |
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 great! Gave it a final read through and all looks good.
Thanks very much for the thorough review! |
This PR mainly uses the mpas-datashader.ipynb, making some changes in it to cover interactive plotting in this cookbook and emphasize there were some updates in unstructured grids visualization via UXarray since the initial version of this study was conducted.
This PR does: