8000 Remove suggestion to remove rk4/rk45 integrators from streamplot. by anntzer · Pull Request #19620 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Remove suggestion to remove rk4/rk45 integrators from streamplot. #19620

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
Mar 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lib/matplotlib/streamplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,8 @@ def _integrate_rk12(x0, y0, dmap, f, maxlength):
timestep is more suited to the problem as this would be very hard
to judge automatically otherwise.

This integrator is about 1.5 - 2x as fast as both the RK4 and RK45
solvers in most setups on my machine. I would recommend removing the
other two to keep things simple.
This integrator is about 1.5 - 2x as fast as RK4 and RK45 solvers (using
similar Python implementations) in most setups.
"""
# This error is below that needed to match the RK4 integrator. It
# is set for visual reasons -- too low and corners start
Expand Down
0