Annoying White Tab Opens While Downloading [Jupyter] Notebook - jupyter-notebook

Whenever I download the notebook using the "download as" option in the "File" menu, as soon as I click a file format (e.g. .ipynb) it will open a blank tab with a white background during the "save as" dialog.
The file exports/downloads properly--it's just this bright white tab opens during the process--despite the fact that I have everything on my browser and OS configured to dark mode. e.g. When I open up a blank tab in Firefox, the tab is dark--not bright white.
It's irritating because I have to turn down my brightness every time I want to download a notebook.
How can I change this?

Related

How to view .ipynb as regular text intsead of an ipython notebook in vscode

VS code recently added the ability to work with jupyter notebooks (.ipynb files), this is to say it renders them as notebooks and not the underlying text.
The problem I'm running into is I want to make some edits on the raw text rather than the "notebook" but I can't figure out how to show it as a text file the way any other editor would.
Is there a way to toggle between the views?
Disable automatically opening *.ipynb files in Notebook Editor
To make sure the Jupyter notebooks don't open in the Notebook Editor automatically, make sure to disable this settings. (Command Palette -> Settings)
OR
In the User or Workspace settings.json, add the following the root json - "jupyter.useNotebookEditor": false
To toggle between the Notebook Editor and Raw Text Mode Editing
There is an option/command called Reopen Editor with..., which will provide you options to open the *.ipynb file in text mode.
You trigger this by performing a Right Click on the Editor Tab (Editor Title Bar) or Command Palette -> Reopen Editor with...
PS: I have the Jupyter extension (v2020.12.414227025)
Open: File > Preferences > Settings
Search ipynb and deselect the following:
Other answers didn't work for me recently. I found no "use notebook editor" option under preferences, perhaps vs code has reorganized recently. Instead I found the following solution. Right click on an *.ipynb file tab to get the context menu, and click "Reopen Editor With..." as pictured below.
Then on the following popup click "configure default editor for .ipynb", and then click on the text editor as seen below:
And viola. The default settings have been changed.
I think the fastest way is to rename the file.
Just press F2 (or return for mac) while selecting the file in the vscode explorer, then rename from my-notebook.ipynb to my-notebook.json, because jupyter ipynb files are regular json files
Create .json file and paste the notebook json in there, save the file and then rename the extension to .ipynb and it will open in the jupyter editor
(Similar to aquirdturtle's answer)
What about
On the left side explorer
Right Click on file -> Open With -> Text Editor
Set the setting
"files.associations": {
"*.ipynb": "text"
}
Or try click on the Status Bar field that shows the Language Mode of the file in the lower right.
Use the command: Change Language Mode

Showing the Fox icon on a desktop shortcut

I am having difficulty in making a shortcut which I have installed on a client’s machine appear with the ‘Fox’ icon.
On my own machine I create the exe file myapp.exe, then create a shortcut to myapp.exe and copy it to the desktop. The shortcut shows with the Fox icon.
I then copy myapp.exe to the client’s machine, and create a shortcut in the same folder. With Windows Explorer that shortcut shows with the Fox icon. If however I copy it to the client’s desktop, the shortcut appears with a different icon (a rather general ‘folder’ with 6 coloured rectangles).
But If I then right-click on that shortcut (on the desktop) and click on Properties, Shortcut, the tab shows at the top the ‘Fox’ shortcut icon and the name of the application. And when I click on ‘Change icon’, the Fox icon is the only one which is offered at first.
Still within properties, I can change the icon (e.g.) to that from Teamviewer. If I save that, then the shortcut on the users desktop has indeed chanfged to Teamviewer.
Back on my machine, within VFP, I open up the project and look at the ‘Other | Other files’ tab and see that there are a lot of .bmp files, some them icons I have created. Do I perhaps need to add some icon into that group and then rebuild the exe?
Thanks very much.

Hide the cell tag panel in Jupyter Notebook

Jupyter notebook has a new feature of cell tags since version 5.0 as described in the changelog.
I activated the cell tags going to View > Cell Toolbar as described on their page.
How can I deactivate this little panel on the cells?
Pressing the same button again doesn't help.
Do the same process but this time just click None
If last answer did not help, you also can edit .ipynb file code. in Jupyter - Home-running- stop your file, after that go to the explorer- click right bottom on your_file.ipynb open with notebook(just like .txt) - scroll down, find raw with "celltoolbar": "None", and delete this and save file, after run file in jupyter.

brackets automatically loads preview

right when I open or whenever I click on the HTML file to activate my HTML file a preview shows up instead of the code that I'm working on. In the top left corner it says WYSIWYG Editor. My Brackets is Release 1.6 build 1.6.0-16680. I want to stop this preview, how do I do that?
Thanks!
Double click on the preview and press "prevent opening"

How to save a plot with gWidgets?

I have a gWdigets GUI making a plot embedded in a ggraphics container. When I right-click on the plot, a menu "copy - save" appears, but when I save the file everything seems to work correctly but at the end there's no saved file.

Resources