question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Jupyter Interactive | Delete Cells without expanding it (July update issue) | Asking for roll back

See original GitHub issue

One of the most convinet features that Jupyter on VS Code had was the ability to delete cells easily. It helps keeping the interactive section clean (deleteing cells that produces error, etc).

However, after July’s update this has become a cumbersome/inconvient process. Now you have to first expand the cell then delete it

To reproduce the issue following these steps

  1. Add a line of code in a .py file (e.g.)
# %%
from statsmodels.graphics.tsaplots import plot_acf
  1. Run the cell
  2. Expand the cell (new july update)
  3. Delete the cell

The attached image show how it looks before and after expansion The option to delete the cell can only be viewed after expansion

** before and after cell expansion

I am not sure why this was changed in the latest update. I hope the ability for deleting a cell can be rolled back

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
joyceerhlcommented, Aug 25, 2021

@abd-shouman Thank you for providing feedback, we really appreciate you taking the time to help us improve this tool.

The arrow on the left (as show below) felt more intuitve to me. When I saw it, I was able to tell that this a cell that can be expand, unlike the new used logo.

This is good feedback. We are tracking that same concern in https://github.com/microsoft/vscode/issues/130622. /cc @greazer @rebornix

2reactions
joyceerhlcommented, Aug 18, 2021

@rebornix Would it be possible to expose a third notebook.cellToolbarVisibility option “always” or “show”, or introduce a separate setting for the interactive window?

image

@abd-shouman Sorry to hear that the update is cluttered and confusing. Would you mind sharing what aspects of it are frustrating for you so we can improve it? We have also just fixed a bug with the variable explorer in the recovery build that we published yesterday https://github.com/microsoft/vscode-jupyter/issues/6993 Please let us know if you encountered a different problem and we can get that fixed as well.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to recover accidentally deleted cells in Jupyter Notebook
Show activity on this post. This solution worked for me: Open the command pallet ( ctrl+shift+p on windows) Select the "Undo" command.
Read more >
July 2021 (version 1.59) - Visual Studio Code
Welcome to the July 2021 release of Visual Studio Code. There are many updates in this version that we hope you will like,...
Read more >
xlwings - Make Excel Fly! - Read the Docs
File Reader (new in v0.28.0): Runs additionally on Linux and doesn't require an installation of Excel. – xlwings Server (new in v0.26.0).
Read more >
What's New - xlwings Documentation
Bug Fix PRO: xlwings Server: cell errors were causing a bug with Desktop Excel ... of Excel tables when using mytable.update(df) as it...
Read more >
IO tools (text, CSV, HDF5, …) — pandas 1.5.2 documentation
If file contains no header row, then you should explicitly pass header=None . ... a list comprehension on the DataFrame's columns after calling...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found