Problem with Draw function, large scale.
- horep
- Topic Author
- New Member
Less
More
1 year 8 months ago #4741
by horep
Problem with Draw function, large scale. was created by horep
Hi,
When trying to run the tutorials within VSCODE, the draw function yields a window where the scale is massive, and seems to have some sort of colour bar obscuring everything. I have tried searching for relevant posts, and have found this post which seems to have the exact same problem ngsolve.org/forum/ngspy-forum/1729-problem-with-draw however when trying to navigate to it from Google, I get a 403 error. On Google I see "I tried the following: - with VScode using an interactive window, but in this case I obtain an image with a very large scale and it's impossible ..." which is my exact problem.
It is frustrating that I cannot read the answers (if any) to this. I have attached a screenshot of the output from the Draw portion of the poisson.ipynb file. I am able to interact with the window, such as scrolling and moving around, but it is very hard to use, and the bar remains obscuring everything throughout.
I have Python 3.7.9, and used the windows installer (6.2.2301-win64.msi).
When trying to run the tutorials within VSCODE, the draw function yields a window where the scale is massive, and seems to have some sort of colour bar obscuring everything. I have tried searching for relevant posts, and have found this post which seems to have the exact same problem ngsolve.org/forum/ngspy-forum/1729-problem-with-draw however when trying to navigate to it from Google, I get a 403 error. On Google I see "I tried the following: - with VScode using an interactive window, but in this case I obtain an image with a very large scale and it's impossible ..." which is my exact problem.
It is frustrating that I cannot read the answers (if any) to this. I have attached a screenshot of the output from the Draw portion of the poisson.ipynb file. I am able to interact with the window, such as scrolling and moving around, but it is very hard to use, and the bar remains obscuring everything throughout.
I have Python 3.7.9, and used the windows installer (6.2.2301-win64.msi).
- NGUnsolved
- New Member
Less
More
1 year 8 months ago #4744
by NGUnsolved
Replied by NGUnsolved on topic Problem with Draw function, large scale.
Hello,
I had the same problem trying to use the Draw function in Jupyter notebooks directly.
You can open an external window with "import netgen.gui" and there it works fine. They also did this in the youtube tutorials.
More workaround than solution but at least you can see stuff.
- NGUnsolved
I had the same problem trying to use the Draw function in Jupyter notebooks directly.
You can open an external window with "import netgen.gui" and there it works fine. They also did this in the youtube tutorials.
More workaround than solution but at least you can see stuff.
- NGUnsolved
- christopher
- Offline
- Administrator
Less
More
- Thank you received: 101
1 year 8 months ago #4752
by christopher
Replied by christopher on topic Problem with Draw function, large scale.
In vscode I guess it is possible that the webgui is not yet working correctly. In jupyter notebook in the browser it should work. What browser/operating system are you working on? Does it also happen in other browsers?
- NGUnsolved
- New Member
Less
More
1 year 8 months ago #4753
by NGUnsolved
Replied by NGUnsolved on topic Problem with Draw function, large scale.
You are right. The problem seems to be VSCode. It works fine in the browser (linux).
- horep
- Topic Author
- New Member
Less
More
1 year 8 months ago #4759
by horep
Replied by horep on topic Problem with Draw function, large scale.
Hi,
Sorry for the late reply, I was having trouble logging in as the reset password function on this forum doesn't seem to work
Using Jupyter notebook (Firefox, windows 10) is a workaround. Obviously not ideal since then you don't get the useful features of working in VSCode. Using
import netgen.gui
as a replacement worked perfectly for me within VSCode.
Sorry for the late reply, I was having trouble logging in as the reset password function on this forum doesn't seem to work
Using Jupyter notebook (Firefox, windows 10) is a workaround. Obviously not ideal since then you don't get the useful features of working in VSCode. Using
import netgen.gui
as a replacement worked perfectly for me within VSCode.
- nils.ansorge@eagleburgmann.com
- New Member
Less
More
1 year 8 months ago #4760
by nils.ansorge@eagleburgmann.com
Replied by nils.ansorge@eagleburgmann.com on topic Problem with Draw function, large scale.
I have similar problems on a windows machine. It would be great if the webgui could be fixed for vscode.
Time to create page: 0.124 seconds