Closed mezarque closed 3 months ago
Check out this pull request on
See visual diffs & provide feedback on Jupyter Notebooks.
Powered by ReviewNB
This looks good! I made some inline comments via nbreview. General comments:
docs/
or notebooks/
subdirectory, but this can wait for a later PR (maybe I can do this when I add the quickstart guide, which for now will be another notebook). Ok, I addressed your comments! I'll let you handle the re-arrangement of things. I've also left the paths for saving the PDF files in place for now; probably we want to put them into a folder that's then added to the .gitignore
to avoid committing those PDFs in the future.
In the style_usage.ipynb
I also added a section that explicitly explains that the colors / gradients are registered to matplotlib
and accessible by name, as I think it's a nice convenience feature that wasn't clearly explained before.
PR checklist
Overview
This PR splits the
usage_example.ipynb
into three documents:color_usage.ipynb
covering the color, palette, and gradient-associated parts of the API.style_usage.ipynb
covering thematplotlib
/seaborn
-altering portions of the API under thempl
module.cvd_usage.ipynb
covering thecvd
utilities.Testing
All of the notebooks run just fine; would love feedback on copy and any other examples that would be useful to include in this documentation!
Note
I'd wait to review this PR until #29 is merged, since I merged those changes into the branch I was working on for this.