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

show_code and "Cell output area" above or below #3997

Open
moble opened this issue Mar 6, 2025 · 0 comments
Open

show_code and "Cell output area" above or below #3997

moble opened this issue Mar 6, 2025 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@moble
Copy link
Contributor

moble commented Mar 6, 2025

Description

I think many people who are used to IPython notebooks really struggle with seeing output above the code that produces it. The "Cell output area" option is great for this. But show_code appears to only show the code below the output. Particularly for app view, I think it will be much clearer to users of my app if they see the code, and then the output

I think this function should

  1. Have an option to specify whether code should come first or output.
  2. If the option is not present, go with whatever is in the settings.

Suggested solution

The first item seems easy enough; it would just be an option to the function that would reverse the order in this statement. But I don't understand the settings system enough to figure out item 2.

@moble moble added the enhancement New feature or request label Mar 6, 2025
@mscolnick mscolnick added the help wanted Extra attention is needed label Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants