Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Deprecate matplotlib.cm.LUTSIZE #20806

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

Merged
merged 1 commit into from
Aug 17, 2021
Merged

Conversation

timhoffm
Copy link
Member

@timhoffm timhoffm commented Aug 7, 2021

we can directly use mpl.rcParams['image.lut'].

@@ -23,10 +23,20 @@
import matplotlib as mpl
from matplotlib import _api, colors, cbook
from matplotlib._cm import datad
import functools
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This belongs with collections.abc in the standard library import block.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anybody is welcome to fix this and force-push. I won't be able to do it myself for a couple more days.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So playing with the new codespaces, review comments on branches that have PRs are inline which is pretty nice!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but the "mpl contributors can push to my PR branch" ACL does not seem to be forwarded yet. Oh well.

@tacaswell tacaswell force-pushed the deprecate-lutsize branch 2 times, most recently from c4d0717 to 0a911e2 Compare August 17, 2021 15:31
@tacaswell
Copy link
Member

and rebased.

we can directly use `mpl.rcParams['image.lut']`.
@tacaswell
Copy link
Member

Third times the charm, hopefully all of our CI systems have auto-kill setup.

@QuLogic QuLogic merged commit 5622be2 into matplotlib:master Aug 17, 2021
@timhoffm timhoffm deleted the deprecate-lutsize branch August 18, 2021 06:22
lpsinger added a commit to lpsinger/matplotlib that referenced this pull request Aug 18, 2021
PR matplotlib#20806 added another instance of a module-level `__getattr__`
function that was missing a final `raise AttributeError` to catch
unknown attributes. This is the same kind of bug as matplotlib#20822.

See also astropy/astropy#12038.
musicinmybrain added a commit to musicinmybrain/nipy that referenced this pull request Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants