-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
enable sympy.plotting.plot_contour
#23591
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
Conversation
instead of `from sympy.plotting.plot import plot_contour`
✅ Hi, I am the SymPy bot (v167). I'm here to help you write a release notes entry. Please read the guide on how to write release notes. Your release notes are in good order. Here is what the release notes will look like: This will be added to https://github.com/sympy/sympy/wiki/Release-Notes-for-1.11. Click here to see the pull request description that was parsed.
Update The release notes on the wiki have been updated. |
I guess it should probably be imported at top-level like @Davide-sd what do you think? |
Why at the top level and not with the other plot functions under Is there something special about What is the rationale behind putting some plot commands in the top level while others are under It seems most sensible to have:
The way plotting commands are currently structured is just all around odd for me. |
Benchmark results from GitHub Actions Lower numbers are good, higher numbers are bad. A ratio less than 1 Significantly changed benchmark results (PR vs master) Significantly changed benchmark results (master vs previous release) before after ratio
[77f1d79c] [ae598245]
<sympy-1.10.1^0>
+ 88.4±0.5ms 159±0.9ms 1.80 sum.TimeSum.time_doit
Full benchmark results can be found as artifacts in GitHub Actions |
I think it should be available both at the top level, |
It would be nice to have consistency with this: Either expose all the plotting functions at the top level, or keep them all in
Which has the same level of succinctness, but more versatility than importing from the top-level. Better yet, it allows the user to just The current
|
This looks good. We should discuss the other changes in a new issue as they are more controversial since they would break compatibility. |
Thank you. I created a new issue for that: #23599 |
instead of
from sympy.plotting.plot import plot_contour
Improve: issue #12034
sympy.plotting.plot_contour