-
Notifications
You must be signed in to change notification settings - Fork 11
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
GrouperView.join()
no longer exists, use sharey()
instead
#26
base: master
Are you sure you want to change the base?
Conversation
… arrays to scalars, could use .squeeze if preferred
…asterization of '<matplotlib.contour.QuadContourSet object at 0x11554dd10>' will be ignored
@@ -98,12 +98,10 @@ def plot(x, y, z, ax=None, **kwargs): | |||
|
|||
# Rasterize contours (the rest of the figure stays in vector format) | |||
if rasterize_contours: | |||
for c in cbar.collections: | |||
c.set_rasterized(True) | |||
cbar.set_rasterized(True) |
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.
getting warnings this hasn't been applied
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.
Thank you so much @AdamOrmondroyd for sorting all this out. A lot of people use this code (particularly in REACH), so keeping it up to date is really valuable.
Please squash and merge.
Are you sure you're happy with the rasterizing bit? |
Sorry, realised I wasn't happy with using [0] instead of .squeeze(). Feel free to revert if your opinion differs |
Description
GrouperView
no longer has a.join()
method, so usesharey()
instead. https://stackoverflow.com/questions/77418896/attributeerror-grouperview-object-has-no-attribute-joinFixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: