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

random doctest error in src/sage/plot/plot.py #35470

Open
2 tasks done
dcoudert opened this issue Apr 9, 2023 · 3 comments
Open
2 tasks done

random doctest error in src/sage/plot/plot.py #35470

dcoudert opened this issue Apr 9, 2023 · 3 comments

Comments

@dcoudert
Copy link
Contributor

dcoudert commented Apr 9, 2023

Is there an existing issue for this?

  • I have searched the existing issues for a bug report that matches the one I want to file, without success.

Did you read the documentation and troubleshoot guide?

  • I have read the documentation and troubleshoot guide

Environment

- **OS**:macOS 12.6.3
- **Sage Version**: 10.0.beta8

Steps To Reproduce

./sage -t --random-seed=4353858841104478676567296645844421851 src/sage/plot/plot.py

File "src/sage/plot/plot.py", line 1824, in sage.plot.plot.plot
Failed example:
plot(f, (x, -3.5, 3.5), detect_poles='show', exclude=[-3..3], ymin=-5, ymax=5)

Expected Behavior

Graphics object consisting of 12 graphics primitives

Actual Behavior

Graphics object consisting of 13 graphics primitives

Additional Information

Part of #32544

@tobiasdiez
Copy link
Contributor

@tornaria
Copy link
Contributor

tornaria commented May 9, 2024

Another instance of the same:

sage -t --warn-long 10.0 --random-seed=251246844545729201890491297510531298883 /usr/lib/python3.12/site-packages/sage/plot/plot.py
**********************************************************************
File "/usr/lib/python3.12/site-packages/sage/plot/plot.py", line 1855, in sage.plot.plot.plot
Failed example:
    plot(f, (x, -3.5, 3.5), detect_poles='show', exclude=[-3..3],
         ymin=-5, ymax=5)
Expected:
    Graphics object consisting of 12 graphics primitives
Got:
    Graphics object consisting of 13 graphics primitives
**********************************************************************

@tornaria
Copy link
Contributor

tornaria commented May 9, 2024

Also, this seems a duplicate of #34772 and #33129

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

No branches or pull requests

3 participants