-
Notifications
You must be signed in to change notification settings - Fork 145
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
Heatmap updates #750
Heatmap updates #750
Conversation
loftusa
commented
Apr 4, 2021
•
edited
Loading
edited
- adds section in heatmap tutorial for hierarchy labels
- adds ticklabels functionality in heatmap function that seaborn has
- small bug fix and error checking changes
❌ Deploy Preview for graspologic failed. 🔨 Explore the source changes: 50dcb7d 🔍 Inspect the deploy log: https://app.netlify.com/sites/graspologic/deploys/6124f6021d885900084b9af3 |
why make this a wrapper, as opposed to an option? |
I thought it was a little more clunky as an option, since turning it into an option implies that you can't use the I can make it an option if you'd prefer! |
Fix a few bugs
11dfc85
to
7570404
Compare
graspologic/plot/plot.py
Outdated
colors : list-like or np.ndarray | ||
A list of exactly two colors to use for the heatmap. | ||
|
||
colorbar_ticklabels : list-like |
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.
if I don't want this, can it be turned off (like it can be for heatmap)
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 like yes, can you add somewhere in docs?
@loftusa what's the status of this PR, left a few comments above but wondering if we should push in or close? |
I think probably |
tests/test_plot.py
Outdated
@@ -12,6 +12,7 @@ | |||
heatmap, | |||
pairplot, | |||
pairplot_with_gmm, | |||
binary_heatmap, |
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.
dont need this?
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.
agreed, fixed
@bdpedigo status on this? I saw approved, but I'm not authorized to merge |
tests still werent passing |
looks like they broke yesterday with 44f372e. One sec |
@loftusa any interest in getting this merged? if not will close for the time being |
Yeah - the doc-building error was weird and I wasn't sure how to fix, then other stuff took priority...
|
I dont see any current doc errors, just a format check? |
bump @loftusa |
oops didnt mean to hit close |
what the heck is this |
seeing if the issue fixed itself 🤞 |
* Added Python 3.11 (#1039) * add python 3.11 * fix numba dep warning * add release note entry (#1040) * Updated heatmap (#750) * test pytest ini * add binary_heatmap, updates to tutorial notebook * test plotting * re-add pytest.ini * Update plot.py Fix a few bugs * add new tests * Update setup.cfg * remove binary_heatmap * mpl version req back to normal * remove binary_heatmap import * black * formatting fix --------- Co-authored-by: Benjamin Pedigo <benjamindpedigo@gmail.com> * Fixed bugs in type specifications from Numpy 1.25 release (#1047) * attempted fix for matrix type erroring * fix spec of csr_array * add a random seed * remove isspmatrix * fix a type check * black * Added option for more efficient graph matching matrix operations (#1046) * more efficient graph matching matrix operations * fix formatting * remove an unused import (unrelated) * expose fast kwarg to user, docs * run black formatter * add typehint * fix mypy --------- Co-authored-by: bkj <ben@jataware.com> Co-authored-by: bdpedigo <benjamindpedigo@gmail.com> * Added an `ax` argument for `screeplot` * Add ax argument to screeplot (now returns None) * add a return value for screeplot() * Refactored for best practices * Fixed Matplotlib 3.8 compatibility issues (#1049) * specify angle as kwarg * try removing some maybe unnecessary code? * fight with mypy * black * fix sorts * try switch to explain * fix intersphinx * other instances of wrong tutorial intersphinx * 3.3.0 release prep (#1050) * add release notes * bump version --------- Co-authored-by: Alex Loftus <alexloftus2004@gmail.com> Co-authored-by: Ben Johnson <bkj.322@gmail.com> Co-authored-by: bkj <ben@jataware.com> Co-authored-by: Prajwal Agrawal <61898798+kidkoder432@users.noreply.github.com>