You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In JupyterLab Debugger, when debugging a code with a float variable having infinity value (i.e. from math.inf, numpy.inf or float('inf')), the variable is displayed as NaN in the Variables panel, see screenshot:
Reproduce
Create new notebook in JupyterLab using a Python kernel ("classical" kernel, not xeus-python which I didn't tested.
Add cell with code:
importmatha=math.infb=-aprint(a)
Run the cell and enable JupyterLab debugger → see the Variables panel.
Expected behavior
Variables having a +inf or -inf value should be displayed as such.
Context
Operating System and version: Linux Ubuntu 22.04
Browser and version: tested with
Firefox 118.0.2 (64 bits)
Chromium Version 118.0.5993.70 (Build officiel) snap (64 bits)
JupyterLab version: 4.0.6
The text was updated successfully, but these errors were encountered:
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋
Description
In JupyterLab Debugger, when debugging a code with a
float
variable having infinity value (i.e. frommath.inf
,numpy.inf
orfloat('inf')
), the variable is displayed asNaN
in the Variables panel, see screenshot:Reproduce
Create new notebook in JupyterLab using a Python kernel ("classical" kernel, not xeus-python which I didn't tested.
Add cell with code:
Run the cell and enable JupyterLab debugger → see the Variables panel.
Expected behavior
Variables having a +inf or -inf value should be displayed as such.
Context
The text was updated successfully, but these errors were encountered: