Git Product home page Git Product logo

Comments (6)

joouha avatar joouha commented on May 25, 2024

Hi,

Do you mean toggling the visibility of the output of a single cell (like the "Collapse Selected Output" command in Jupyter Lab)? That's not currently supported, but should be fairly straight forward to implement - I'll add it to my to-do list.

You can clear the output of a cell by converting it to a raw cell (r) then converting it back to a code cell (y).

from euporie.

raffaem avatar raffaem commented on May 25, 2024

Do you mean toggling the visibility of the output of a single cell (like the "Collapse Selected Output" command in Jupyter Lab)?

Yes, I meant that :)

That's not currently supported, but should be fairly straight forward to implement - I'll add it to my to-do list.

Thank you very much!

from euporie.

joouha avatar joouha commented on May 25, 2024

I've implemented this in a52d4b8, and it will be included in the next release.

You can now click on the cell's prompt areas to toggle the visibility of a cell's inputs / outputs, or used the "Expand / Collapse / Toggle cell inputs / outputs" commands from the command palette.

from euporie.

raffaem avatar raffaem commented on May 25, 2024

Oh, thank you very much!

  1. Are there any keybindings for "Toggle cell input / output"?
  2. What the "Toggle expand" (mapped to W) is supposed to do?
  3. It takes a long time for the "Search for a command" window to show up every time I start euporie. It works correctly the 2nd- 3rd- etc. time I call it

from euporie.

joouha avatar joouha commented on May 25, 2024

You're welcome!

  1. I've not set a default key-binding for this, but it should be possible to configure a custom key-binding.

    The relevant commands are: show_cell_inputs, hide_cell_inputs, toggle_cell_inputs, show_cell_outputs, hide_cell_outputs, & toggle_cell_outputs

    If you can suggest something logical and suitable I might consider adding a default.

  2. Notebooks have a maximum display width (set by the max_notebook_width configuration variable). If your terminal is wide enough, the notebook will not exceed this width. If expand is set to True, the maximum notebook width limit will be ignored. This video demonstrates this:

    _toggle-expand.webm
  3. How long is it taking to open the command palette? Which operating system and version of Python are you using? I'm able to open the command palette almost immediately after first launch, so am a bit puzzled by this one.

from euporie.

raffaem avatar raffaem commented on May 25, 2024

oh thanks for 1 and 2.

Opening a new issue for 3 :)

from euporie.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.