-
-
Notifications
You must be signed in to change notification settings - Fork 417
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
Unable to get the grid visualisation in python demo #226
Comments
Hi, It seems that after a vscode update, when debugging the .py file, it does not enter PyVisualizationSupport.ts but enters GenericVisualizationSupport.ts instead. This causes the extension to continuously output Python objects in a graphical way. I have never worked with Node.js and TypeScript before, so I can only modify this piece of code in a straightforward manner. I replaced the getVisualizationData function from PyVisualization.ts to GenericVisulizatioinSupport.ts, and then modified the expression: finalExpression at line 84 to expression: visualize("+finalExpression+"). After rebuilding the file, it seems work. Obviously, this extension can only visualize .py files in this way. I think there should be a better method. |
but why mine has not a Grid Visualizer |
I tried the insertion sort demo from the python examples. The serialized array still shows up as a graph. Is there any step that I missed.
When I click on the JSON source in the visualization viewer it shows this
The text was updated successfully, but these errors were encountered: