Skip to content

DOC: Change the position of the prompt cell for the JupyterLite REPL? #869

Open
@jtpio

Description

@jtpio
Contributor

Issue with current documentation:

Currently the embeded REPL on the https://numpy.org landing page shows a REPL with the prompt cell at the bottom, which can be confusing to some users:

Image

Idea or request for content:

As a quick heads-up, JupyterLite 0.6.0 (currently in beta) will allow changing the position of the prompt cell: https://jupyterlite.readthedocs.io/en/latest/changelog.html#enhanced-repl-options

Image

Just wanted to bring this up in case folks would be interested in tweaking a couple of settings for the current REPL.

cc @agriyakhetarpal who opened a similar issue on another repo (also in case a common single deployment for scientific Python is still something to consider).

Activity

agriyakhetarpal

agriyakhetarpal commented on May 20, 2025

@agriyakhetarpal
Contributor

Thanks for opening this, @jtpio! Ah, right, we were discussing this in the pandas repo at pandas-dev/pandas#60758 (comment) as the REPL felt a tad awkwardly sized on the webpage if its width was left unrestricted. I think it makes sense to use these new options indeed, but I'll note the REPL suffers from the splitPanel bug we discovered in jupyterlite/jupyterlite-sphinx#290, so it would be nice if we could figure out a fix – I didn't spend a lot of time there after my initial investigation :D

Also, maybe we should discuss this in the https://github.com/numpy/numpy.org repo? 😅 If yes, it would be great if a maintainer here could transfer this issue there.

jtpio

jtpio commented on May 20, 2025

@jtpio
ContributorAuthor

Also, maybe we should discuss this in the https://github.com/numpy/numpy.org repo? 😅 If yes, it would be great if a maintainer here could transfer this issue there.

Ah right, happy to close and reopen there if needed, but it can be transferred that would likely be easier 👍

transferred this issue fromnumpy/numpyon May 22, 2025
rgommers

rgommers commented on May 24, 2025

@rgommers
Member

This sounds like a good idea to me, thanks for working on this in JupyterLite!

transferred this issue fromnumpy/numpyon Jun 20, 2025
rgommers

rgommers commented on Jun 20, 2025

@rgommers
Member

@InessaPawson I think you transferred this back to the wrong repo by mistake - it belongs on the numpy.org repo. Transferred once more.

InessaPawson

InessaPawson commented on Jun 21, 2025

@InessaPawson
Member

@rgommers Yes, of course! My apologies for this mishap. Clearly, I need to double-check before hitting that "Transfer issue" button again, especially during late-night sessions.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @rgommers@jtpio@InessaPawson@agriyakhetarpal

        Issue actions

          DOC: Change the position of the prompt cell for the JupyterLite REPL? · Issue #869 · numpy/numpy.org