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

Improve the plot of floor() #26328

Open
jondo opened this issue Mar 8, 2024 · 2 comments
Open

Improve the plot of floor() #26328

jondo opened this issue Mar 8, 2024 · 2 comments

Comments

@jondo
Copy link
Contributor

jondo commented Mar 8, 2024

With current Sympy 1.12, the code

from sympy import symbols, floor
from sympy.plotting import plot

x = symbols('x')
plot(floor(x))

gives
plot

This graph should not be connected at the discontinuities. Instead, full and empty circles should be plot there, to see where the actual value is. Compare
image
from https://en.wikipedia.org/wiki/Floor_and_ceiling_functions .

@SaiGanesh21
Copy link

Hi @jondo , I am new to this repository. Actually I understood the issue, but could you please guide me on how to replicate this issue locally. Also which files do I need to refer to for solving the issue.

@rohan-agr
Copy link

Hi @jondo ,

@ethandeguire and I have begun looking into this issue. We are new contributors to open source. Has any new work been done on this issue/are there any guidelines we should be aware of in fixing this?

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

No branches or pull requests

3 participants