Skip to content
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

Remove use of pylab.hold #7

Merged
merged 1 commit into from
Dec 1, 2019
Merged

Remove use of pylab.hold #7

merged 1 commit into from
Dec 1, 2019

Conversation

jedbrown
Copy link
Contributor

pylab.hold(True) has always been the default, has been deprecated
since matplotlib 2.1 and was removed in 3.0, yielding

AttributeError: module 'matplotlib.pylab' has no attribute 'hold'

Instead of pylab.hold(False), one should create a new
figure (automatic in some environments, such as in a new Jupyter
cell). Further discussion:

matplotlib/matplotlib#12337

pylab.hold(True) has always been the default, has been deprecated
since matplotlib 2.1 and was removed in 3.0, yielding

  AttributeError: module 'matplotlib.pylab' has no attribute 'hold'

Instead of pylab.hold(False), one should create a new
figure (automatic in some environments, such as in a new Jupyter
cell).  Further discussion:

  matplotlib/matplotlib#12337
@macd macd merged commit a131e41 into macd:master Dec 1, 2019
@macd
Copy link
Owner

macd commented Dec 1, 2019

lgtm. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants