Skip to content

Fix: don't called deprecated Matplotlib functions find and frange #262

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 3 commits into from
Jan 4, 2019

Conversation

roryyorke
Copy link
Contributor

@roryyorke roryyorke commented Jan 1, 2019

Also fixed docs for phase_plot, and fixed up the example using phase_plot. I modified the example to only call matplotlib's show once, at the end.

Fixes #258

Reimplemented mlab.find as private _find.

Replaced mlab.frange calls with equivalent numpy.linspace call, and
corrected phaseplot.phase_plot docs for how the X and Y arguments are
used.
Added titles, removed all show calls except last.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 78.225% when pulling 9e41ae7 on roryyorke:rory/no-mplib-find into 0d94329 on python-control:master.

@murrayrm murrayrm merged commit bcf5382 into python-control:master Jan 4, 2019
@roryyorke roryyorke deleted the rory/no-mplib-find branch January 4, 2019 12:41
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.

Matplotlib "find" deprecated, to be removed in Matplotlib 3.1
3 participants